Viewing 13 posts - 1 through 13 (of 13 total)
I'm done with this!
What I did is removed the ID from the insert statement and it automatically generated the ID.
It inserts without problem now!
Thanks for all who participated.
April 11, 2012 at 8:52 pm
Stewart "Arturius" Campbell (4/11/2012)
ladyblue1075 (4/11/2012)
Sorry, Im not familiar with this. How to get to this window?
Within SQL Server Management Studio, connect to the local server.
Then:
> Expand the "Server Objects" folder
>...
April 11, 2012 at 9:05 am
Stewart "Arturius" Campbell (4/11/2012)
the RPC and RPC Out options must be set...
April 11, 2012 at 7:38 am
Stewart "Arturius" Campbell (4/11/2012)
EXEC ('SET IDENTITY_INSERT db1.dbo.TWMS_Permission ON') AT [RemoteServer]
INSERT INTO...
April 11, 2012 at 6:59 am
I can't log on to the remoteserver. It was only the name that has been provided. I can only log to my local server. So what should I do now?
April 11, 2012 at 6:20 am
drew.allen (3/8/2012)
UPDATE t1
SET t1.col1 = t2.col1, t1.col2 = t2.col2, t1.col3 = t2.col3, t1.col4 = t2.col4, ........
FROM t1
INNER JOIN t2
ON t2.ID = t1.ID
CROSS...
March 8, 2012 at 8:33 am
March 8, 2012 at 8:23 am
Thanks for those who replied to this post.
I have solved the problems using these dynamic scripts:
SET @SQLString =
N'SELECT @ColumnName1 = STUFF((SELECT '', '' + C.name
...
March 5, 2012 at 3:37 am
Ok. This answers one of the errors. I'll note that. Thanks, Grasshopper!
manukumar (3/4/2012)
March 4, 2012 at 9:33 pm
Yeah, I got it now.
This link helped!
Thanks again!
February 14, 2012 at 1:38 am
On my Stored procedure, I put
USE [master]
on top of the content.
and yet, i'm getting this error:
Msg 3702, Level 16, State 4, Line 1
Cannot drop database "TA_839" because it is currently...
February 14, 2012 at 1:31 am
How can I do verification?
I'm having problem now.
There error saying:
Msg 3702, Level 16, State 4, Line 1
Cannot drop database "TA_839" because it is currently in use.
Also, I'm not sure...
February 14, 2012 at 1:22 am
Wow! It works!
Thanks to Koen Verbeeck!!!
February 14, 2012 at 1:15 am
Viewing 13 posts - 1 through 13 (of 13 total)