Viewing 15 posts - 18,796 through 18,810 (of 39,837 total)
I typically do this
BEGIN TRAN
DELETE xxx
if @@Error <> 0
begin
rollback transaction
return 1
end
UPDATE xxx
if @@error <> 0
begin
rollback transaction
return 2
end
commit transaction
I...
August 2, 2010 at 10:24 am
I usually set up system database separate from user databases, especially since system databases don't need transaction log backups.
Otherwise, the advice above looks good.
August 2, 2010 at 10:22 am
I haven't heard of this. Couple questions:
- Are the drives available in Windows and unavailable in SQL Server or unavailable in both?
- When you remap, what do you run?
August 2, 2010 at 9:18 am
I've always had to build a separate table and maintain it. Something like
Period Date
1 1/1/2000
1 ...
August 2, 2010 at 9:07 am
Each item in the connection string is a separate entry. You just add the failover partner part.
The Integrated Security clause is an either/or with the uid/pwd section.
August 2, 2010 at 9:05 am
Ratheesh.K.Nair (8/2/2010)
wHEN I TRIED THE SAME ITS DELETING THE PROCEDURE WHICH I CREATED
Which item did you try? Note that the procedure give is for SQL 2000, but there are...
August 2, 2010 at 8:55 am
Dimbulbz (8/2/2010)
August 2, 2010 at 8:49 am
Depending on what you do, OPENQUERY can be easier to write. If you do a straight join, I believe that the entire table from a linked server comes across and...
August 2, 2010 at 8:45 am
Thanks for the update. If you get the DNS specifics, I'm sure this would be a good thread to update for others.
August 2, 2010 at 8:35 am
I thought this was interesting, and I've dealt with this in a few places. If you don't have to work with the financial system, you might not encounter this. It...
August 2, 2010 at 8:29 am
BTW, I bought a 2500sq ft house in Va (SE) for $140k in late 1997, sold for $150k in 1999. A little over a year later, bought essentially the same...
August 2, 2010 at 8:22 am
Gianluca Sartori (8/2/2010)
What exactly are you americans doing at work that makes you worth all that money?
Spending $160k a year.
August 2, 2010 at 8:16 am
Make sure you have indexed the columns.
Is there a reason that you cannot check for an AND with both columns? As in Jeffrey's first example.
August 1, 2010 at 10:58 am
First google result for me: http://www.mssqltips.com/tip.asp?tip=1046
August 1, 2010 at 9:40 am
Viewing 15 posts - 18,796 through 18,810 (of 39,837 total)