Viewing 15 posts - 346 through 360 (of 1,109 total)
Jim Russell (3/11/2008)
"On SQL Server 2008 you will be able to pass a table variable as a parameter, but SS2k8 is not yet released "
I wonder if this will...
March 11, 2008 at 6:13 am
kanthikumar.kota (3/11/2008)
Can i have primary key and unique key defined on a single column of a table? If so what are its advantages or disadvantages?
The short answer is that you...
March 11, 2008 at 3:01 am
salmantp2002 (3/11/2008)
I am new in this forum.Please help me in this problem
I have 2 DataBases Test1 and Test2 .I have Taken the Test1 Full Backup...
March 11, 2008 at 2:54 am
DBA (3/10/2008)
March 10, 2008 at 11:07 am
So now that the problem of deleting the rows is solved, I must ask the question about why you would like to schedule to run this every five minutes. Isn't...
March 10, 2008 at 10:39 am
DBA (3/10/2008)
yes i am so sorry i am working on a sql server 2000, so then how would i just get the top 100?
You could issue the statement:
SET ROWCOUNT 100
delete...
March 10, 2008 at 9:45 am
DBA (3/10/2008)
hi again, Server: Msg 156, Level 15, State 1, Line 4Incorrect syntax near the keyword 'top'.
when i try to run the loop query, any idea why?
Are you running on...
March 10, 2008 at 9:42 am
jagpalsingh4 (3/10/2008)
hi ,can we all all database tables with single query.
thaxxx
regards
jagpal singh
Phillip's code is the one that I'd prefer on SQL Server 2005 and later, but if you also...
March 10, 2008 at 9:33 am
Looks good, assuming that the index you are disabling is a non-clustered index. Also, delete statements do not need the "*" part.
Regards,
Andras
March 10, 2008 at 8:06 am
nicolas.pages (3/10/2008)
March 10, 2008 at 7:33 am
DBA (3/10/2008)
March 10, 2008 at 6:50 am
MD (3/10/2008)
Good point, but the poster said he had a backup. I suspect as you, that he has at least one CSV file that needs to be imported, not...
March 10, 2008 at 6:44 am
nicolas.pages (3/10/2008)
March 10, 2008 at 4:41 am
BTW, Jeff explicitly mentioned the same worries I have about using temp tables in the above way. Would you mind telling us what you are trying to do? There may...
March 10, 2008 at 4:33 am
guptaopus (3/10/2008)
My senerio is...
CREATE PROC p1
AS
CREATE TABLE #foo ( a INT )
EXEC p2
go
CREATE PROC p2
AS
SELECT *
FROM ...
March 10, 2008 at 4:31 am
Viewing 15 posts - 346 through 360 (of 1,109 total)