Viewing 15 posts - 47,941 through 47,955 (of 49,571 total)
Please don't cross post. It fragments replies, wastes people's time and upsets the regulars
We read all forums
December 27, 2007 at 12:42 pm
Lowell (12/27/2007)
here's an example SQL: note that the function object_name takes a second paramter, dbid, only in SQL 2005.
2005 SP2 and higher.
If you are using SQL 2005, rather use the...
December 27, 2007 at 12:28 pm
Just note that this method will almost certainly prevent index seeks from been used to find affected records. It'll work, but it ain't likely to work fast.
It won't be noticeable...
December 27, 2007 at 11:02 am
Dunno. I'm going to do a bit of testing tomorrow, see if I can dig up any differences in how the queries run.
December 27, 2007 at 10:46 am
Back on SQL 2000 I had a job that would run a checksum or checksum aggregate over some columns of the system tables to look for changes. Wasn't pretty, but...
December 27, 2007 at 10:29 am
It has to roll back. It's a property of transactions that they complete totally or not at all. since this one's been cancelled, it must undo all that it's done....
December 27, 2007 at 10:27 am
Ah. I took it to be something else (website or other app where the DB defines and controls the Gui)
December 27, 2007 at 5:43 am
Or in a very high volume OLTP, where lots and lots of small queries are run ver frequently.
Is just conjecture until tested though.
If it is the case, then is...
December 27, 2007 at 5:26 am
Other than protecting against future changes, I can't think of a good reason.
Possibly SELECT * requires an extra lookup to the system tables to get the column names. Kinda like...
December 27, 2007 at 4:49 am
SELECT name from sys.procedures where modify_date > @MyDate
December 27, 2007 at 12:30 am
In SQL 2005 you can look at the modify_date in sys.tables
In SQL 2000 I don't think there's any way of checking, unless you've got a trace running.
December 27, 2007 at 12:27 am
About 3 hours, if I recall, and the number of questions varies. You get a timer at the top of the screen.
Work carefully and steadily. If you know the...
December 27, 2007 at 12:20 am
A rollback statement will rollback all open transactions on that connection. There's no need to keep track of transaction names and, in fact, naming transactions in SQL is more for...
December 27, 2007 at 12:14 am
SQL 2000 questions are best posted in the SQL 2000 forums.
Do you mean last change of structure or last change of data?
December 26, 2007 at 11:51 pm
Viewing 15 posts - 47,941 through 47,955 (of 49,571 total)