Viewing 15 posts - 886 through 900 (of 1,193 total)
Of course, if you were willing to pay for MSSQL, you could also look at Oracle or DB2 which both work on Linux 🙂
July 27, 2012 at 10:21 am
anthony.green (7/26/2012)
This is a script I call"WhatGotRestoredFromWhereWhenAndByWho"
Good name! 🙂
July 27, 2012 at 10:13 am
If I understand it right, you want to see the original error, rather than 'SP completed successfully'?
This article contains code to rethrow an error from a catch block (usp_RethrowError):
http://msdn.microsoft.com/en-us/library/ms179296(v=sql.105).aspx
I use...
July 27, 2012 at 10:10 am
Cool, glad you found the solution. That'll definitely remove any attempt to insert duplicates.
Still odd that you were getting the FK violation rather than a PK one!
July 27, 2012 at 8:54 am
The WITH NOCHECK bit in the FK definition is a little worrying too - what's the value of is_not_trusted for the FK in sys.foreign_keys?
July 27, 2012 at 8:12 am
ozkary (7/27/2012)
SELECT
FROM ddb_temp_DDB tdb
join accounts acct on acct.num_cue_s = tdb.num_cue_s
It looks that the join is finding more than one unique record on the accounts table. Have...
July 27, 2012 at 7:59 am
Hi,
What's the definition of the foreign key "CwFKaccounts2deposits_daily_balance"?
Thanks
July 27, 2012 at 4:53 am
Nic-306421 (7/27/2012)
I dont think I would agree with...
July 27, 2012 at 4:37 am
OK, sounds like it's waiting for something rather than being blocked.
Did the monitoring people give you any details on the wait type field?
You say the proc runs parallely - just...
July 26, 2012 at 9:53 am
ChrisM@Work (7/25/2012)
Phil Parkin (7/25/2012)
Nice article - thanks for the link. When I read absolutes (like 'meaningless') my brain subconsciously challenges them. I still think it was the wrong word 🙂
Quite...
July 25, 2012 at 8:36 am
Nearly there:
IF (EXISTS (SELECT 1 from INFORMATION_SCHEMA.COLUMNS where TABLE_NAME = 'r' and COLUMN_NAME = y ) and
(select charindex('k',@hdr_where))=0)
July 25, 2012 at 8:27 am
On the group properties dialog box there's a Page Breaks page - you can set Page Breaks between groups here.
July 25, 2012 at 7:58 am
It's a trade-off between performance and concurrency.
Staying at row-level locking allows other operations to perform on parts of the table not affected by the current query, at the cost of...
July 25, 2012 at 7:53 am
You could disable the logins one at a time and see if anyone complains! 😀
A logon trigger or switching on security audit for successful logins (which will supersize your event...
July 25, 2012 at 6:56 am
Viewing 15 posts - 886 through 900 (of 1,193 total)