I have an integer field with data that I am trying to change to the Identity field without losing any data. I have to do this using the osql utility. When I run the statement "Alter table table_name alter column column_name int identity", I get the following error "Incorrect...
Can anyone point me in a direction as to how to import data from either a text file or a spreadsheet into an existing SQL table using the osql utility. Thanks in advance!
I was sent a .dat file and have tried to open it with EM using both the Import data wizard and the restore DB wizard but neither wizard gives me a source option of .dat. Is this possible? Am I doing something wrong? Thanks in advance for your help.
I have a 1000 character field in a table. I need to pull out different parts of the string from each record and insert them into different columns in a new table. I was thinking that I would create a DTS package to do this. I am new to SQL and find myself struggling with this. Thanks for the...
I am trying to create a stored procedure that accepts the 'where' clause as an input parameter. I cannot get SQL to recognize the variable as part of the syntax of the stored procedure. The 'where' clause can be different everytime. As in
"WHERE SlprsnId = '1234' AND DocNmbr =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.