all groups > sql server (alternate) > october 2005 >
You're in the

sql server (alternate)

group:

Change Data Type


Change Data Type Nothing
10/6/2005 7:15:09 PM
sql server (alternate):
I received a db2 data file that I converted to MS-Access. From Access I
ran the upsize wizard to put the tabel in SQL. It put the table in ok
but all the data types are nvarchar. I have a couple of the fields that
are cureny and some that are numeric.

I need to change the data types from nvarchar to numeric type fields. I
am new to SQL so I do not know all the commands. How do I change the
data type?

Michael Charney

Re: Change Data Type David Portas
10/6/2005 10:41:36 PM
ALTER TABLE table_name ALTER COLUMN col_name VARCHAR(10) ;

--
David Portas
SQL Server MVP
--

[quoted text, click to view]

AddThis Social Bookmark Button