Viewing 15 posts - 61 through 75 (of 137 total)
Just a quick comment...on a production system you must use the backup/restore method. In order to detach a DB, you must have all users out of it, and while it's...
March 5, 2003 at 4:34 pm
Just a comment on using Transactional replication...you can set up latency just as in Log Shipping in one of two ways:
1) Use continuous transactional replication with a "-PollingInterval" of 300...
March 5, 2003 at 4:26 pm
I don't know if there is a way to check whick records were unlocked, but I would recommend running a DBCC CHECKDB in that database, then check to see if...
February 21, 2003 at 9:04 am
Give this a whirl:
select * from information_schema.view_column_usage where view_name='TR_Rating'
OR
select * from information_schema.view_column_usage where table_name = 'T120'
-Dan
February 3, 2003 at 10:54 am
Ah, sorry about that...yes, its only in SQL 2000.
-Dan
January 29, 2003 at 3:49 pm
Without seeing the query youhave, I'm not sure if I can help, but maybe a CASE statement will do the trick, something like this:
SELECT
...
January 29, 2003 at 1:47 pm
Also, If you are getting run-time errors in your stored-procs, you can use the SET XACT_ABORT ON option in the proc. This will automatically rollback any transactions that are...
January 29, 2003 at 1:05 pm
I would recommend using a table variable instead of a temp table in your stored procs. The table var is much more efficient and it won't lock tempdb like...
January 29, 2003 at 12:56 pm
I have seen it freeze occasionally, but not regularly. I do get ?JavaScript? errors or something like that quite often, though.
-Dan
January 22, 2003 at 4:43 pm
Looks like I found the problem...buried deep inside one of the sub procs was a global temp table (##). Gotta hate legacy code.
-Dan
January 15, 2003 at 2:41 pm
I did a little testing, and this is what I got:
It looks like all GETDATE() calls in a single statement are evaluated at the beginning of the statement (parse time)?
January 10, 2003 at 2:08 pm
I find default parameters to be very useful when a single stored proc is being used by multiple versions of client software (ie-web, client/server). If one of the applications...
January 8, 2003 at 12:02 pm
Here's a "quick and dirty" method for all tables in a single DB:
EXEC sp_MSForEachTable 'EXEC sp_spaceused ''?'''
-Dan
January 8, 2003 at 11:56 am
Actually your primary key could be both columns (memID, buddyID) together. It is probably best to create the primary key as non-clustered, due to the randomness of inserts. Another...
January 7, 2003 at 1:48 pm
Thanks for the reply. The problem is that there is nothing coming back to scroll. The server has not yet sent the results from the PRINT statement to the...
January 7, 2003 at 10:39 am
Viewing 15 posts - 61 through 75 (of 137 total)