Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert float to int 1

Status
Not open for further replies.

siituser

Programmer
Sep 30, 2002
67
CA
I'm trying to populate some extra data into a table but the columns don't match. I created the temp table from an excel spreadsheet. Now, in my select statement, I need to convert a OLDID field from float to int.

Anyone? Thanks
 
convert(int,oldid) ?

======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top