August 26, 2010 at 4:39 am
Hi All,
How to generate a insert query script in sqlserver 2000. In Sql server 2000 don't have option to
generate a script.
Example
select empname,empid from employee
select 'insert into employee (empname,Empid) values('
empname +','+ empid ')' from employee
I need a following format output like
insert into employee(empname,empid) values('1000','Balaji') like that..
While i'm executing the above script. its getting error.
Syntax Error..
I would be greatly appreciated if any one help me out to solve this issue..
With Thanks & Regards
Balaji.G
August 26, 2010 at 4:46 am
Cross post -> http://www.sqlservercentral.com/Forums/Topic973282-5-1.aspx
(I've answered you in your original post)
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply