Dear Friend I am learning SQL i need your help. Actually I was Creating a table Name-"Employee" In the field Of "Telephone_No" I have provided the datatype name "INT" so its not taking any value more than 7 digit So Now i want to change the Datatype name "INT" to "VarChar(12)" so can anybody write me the correct syntax for it. when i am giving the following syntax alter table Employee modify (Telephone_No VarChar(15)) Code (markup): It showing Following Error Message [ Msg 102, Level 15, State 1, Line 1 Incorrect syntax near '('. ] so plz anybody provide me the correct Syntax for this SQL.It too Urgent for me.so waiting for any reply. Thanks.
mmm try one of those ALTER TABLE Employee ALTER COLUMN Telephone_No VARCHAR(15) NOT NULL or ALTER TABLE Employee ALTER COLUMN Telephone_No VARCHAR(15)
This Works Could You Please Advice Me any site where i can get good SQL tutorial for the beginners. Thanks A Lot For Solving My Problem. Take Care.
Thanks A Lot,i have no words to express how much i am happy i have bookmarked your website in my browser and from now i am your blog's regular reader. Take Care. Bye.