Viewing 15 posts - 34,636 through 34,650 (of 39,726 total)
Or try this
SELECT i, newid(), rand()
FROM (SELECT 1 i UNION ALL
SELECT 2 UNION ALL
SELECT 3 UNION ALL
SELECT 4 UNION ALL
SELECT 5) derived
order by newid()
to see...
August 16, 2004 at 12:19 pm
It's possible you had some problem with the backup. I'd rerun it and include the verify check (see RESTORE VERIFYONLY in BOL).
If this doesn't work, be sure you run a...
August 16, 2004 at 12:07 pm
What's the instance name? Are you sure it's being typed correctly? Check it in the services applet.
August 14, 2004 at 7:09 pm
suser_sname() in the trigger will return the Windows login. Insert that into the field you want to keep it in.
August 14, 2004 at 7:07 pm
Check the services applet in control panel for the correct name. Be sure it's set to automatic.
August 14, 2004 at 7:06 pm
Return a table variable instead? Not sure how you get around this. Don't the other procs use the base proc?
August 13, 2004 at 8:57 pm
will be written to the log, then written as a change in memory and flushed out. However, if you are worried about some hardware issue, if the server crashed between...
August 13, 2004 at 7:47 am
If I understand correctly, you'd need dynamic sql to make this work. If you are trying to minimize code and have the proc only run in one db, but reference...
August 13, 2004 at 7:46 am
Is this code in a stored procedure or just dynamically submitted? Have you run DBCC CHECKDB to be sure you don't have corrupt apges somewhere.
Is this the only transaction that...
August 13, 2004 at 7:37 am
What's SQA? And I have never seen this in working with 2000 querying v7.
Are you sure someone isn't working with this table and removing rows? If someone else can...
August 13, 2004 at 7:35 am
You'd have to have some looping mechanism to find the places where /* and */ are, position I mean and then substring them out.
So
create procedure myproc as /* test */...
August 13, 2004 at 7:34 am
Connect to SQL with QA
Rename the windows install
issue an
sp_dropserver (old name)
go
sp_addserver (newname), local
And reboot. Should be good to go.
August 13, 2004 at 7:25 am
Interesting idea. AFAIK, none of the site owners are bilinugal, so comments in any language are unreadabvle by us. I typically don't review the scripts when they are submitted because...
August 13, 2004 at 7:22 am
Using sp_who, which queries the system tables it NOT accessing the system tables. The reason sp_who is available is precisely for this reason. It is guarenteed to work in future...
August 11, 2004 at 10:51 am
Viewing 15 posts - 34,636 through 34,650 (of 39,726 total)