Viewing 15 posts - 1 through 15 (of 57 total)
Thanks to everyone who took the time to respond. I am not worried about the original execution time of 15 mins. The script migrates data from an old...
March 28, 2010 at 8:33 pm
If the update works properly in the new 2005 environment, but not in the old 2000 environment I would take a practical approach and move everything to 2005. Then...
February 9, 2009 at 4:38 pm
Which compatibility level are you running on the 2005 database?
Cheers,
Win
February 8, 2009 at 5:02 pm
When you re-write your procedure use "execute immediate" and not package dbms_sql. This package is very powerful, but syntactically a nightmare.
Also, you cannot issue a select statement inside a...
August 7, 2008 at 7:19 pm
I cannot judge whether your circular relationship between tables 1 and 2 is a good thing. To stop the recursion I would use Noeld's construct, but with function trigger_nestlevel(...
October 16, 2007 at 7:07 pm
You can also test the trigger recursion with function trigger_nestlevel (see BOL) and stop recursion when the nest level exceeds 0. This method is specific to 1 trigger...
October 4, 2007 at 7:18 pm
Tried and failed. The string can evaluate to something like this:
BLACKADDER\SS2KCS.1Day.dbo.sp_helpsort
Cheers,
Win
October 2, 2007 at 4:00 am
Simon,
Your first half tag appears to point to the same document. I can't get to Part 1, A - O from there.
Win
April 18, 2007 at 3:34 am
It would be nice to merge the best of breed from both languages.
How much longer will it take Oracle to replace dbms_output.put_line with a simple PRINT statement that has...
November 14, 2006 at 6:24 pm
sql svr ist not as fast in cursor mode as oracle, but cursing through a loop n times calling 15 procedures (is that your plan?) should not be significantly slower.
sql...
August 22, 2006 at 6:49 pm
I have implemented 2 tracking systems, which track changes of drillhole information in a mining-related data management system. The 2 systems share some code, but operate independantly. Record tracking, when...
August 17, 2006 at 7:17 pm
We use @@trancount just as boundary marker in cascading transactions. The auditing trigger in a child table starts like this:
if @@trancount > 1
return
A transaction count greater than 1...
July 19, 2006 at 7:23 pm
DBCC OPENTRAN will give you information about the oldest active transaction. However, if you are looking to identify the start/end of a transaction in PL/SQL using DBMS_TRANSACTION.local_transaction_id you'll have to re-think...
July 5, 2006 at 7:14 pm
There's another subtle difference about varchars. The maximum field width is 4000 as you mentioned, but the declaration of a varchar variable in PL/SQL can be as large as 32767...
June 13, 2006 at 7:34 pm
Sql Server 7 ( if I remember correctly) had a problem creating a temp table inside a procedure. Select into ..where 1=2 was the only way to get around this...
June 6, 2006 at 6:52 pm
Viewing 15 posts - 1 through 15 (of 57 total)