Viewing 15 posts - 676 through 690 (of 1,315 total)
The fastest and easiest way to speed up your backups would be to get SQL LiteSpeed, RedGate Backup, or one of their competitors, and create compressed backups. Your mileage may...
December 8, 2006 at 9:09 am
The simple answer is to just use your existing queries as derived table subqueries. You have to remove the ORDER BY clauses, but otherwise it is simply:
SELECT ...
FROM (
{...
December 8, 2006 at 8:29 am
If you shut down SQL 2000 the upgrade advisor wouldn't be able to connect to the databases.
If at all possible you want to do a fresh install of SQL 2005 on...
December 8, 2006 at 8:11 am
Out of curiosity, why would you want to limit SQL Server to 6GB out of 8GB RAM on a "dedicated sql server machine"? SQL 2005 memory management is designed to...
December 8, 2006 at 7:53 am
I can name that date in one query
-- Use STUFF to remove the date suffix, then cast the strings to datetime
--...
December 7, 2006 at 9:40 am
Or just move the MAX inside the CASE:
Case
When Max(datestamp) IS
November 30, 2006 at 10:39 am
Hang on there PW, I think the CASE statement in your subquery is backwards. The way it is written it will return -1 as the orderid for all records with...
November 30, 2006 at 10:36 am
You can get multiple rows if a customer places more than one order a day. To be sure you only get one row per customer you may have to...
November 30, 2006 at 10:24 am
Look at the options for the data pump task. The default is to commit all rows in one transaction, but you change it to commit every x number of rows. ...
November 29, 2006 at 2:44 pm
The best way to prevent table locks is to limit the number of rows that are part of each transaction. Commit inserts every few thousand rows, perform updates in a...
November 29, 2006 at 9:14 am
How about "don't post anything you'd NOT want your employer to read."
November 29, 2006 at 9:11 am
Wouldn't your solution (unknown password on the primary) work if you didn't bother changing the password every day? Passwords are stored in the master database, so they wouldn't be part of...
November 27, 2006 at 11:18 am
That is an oversimplification. It needs 1.2 x the size of the data in the table just to rebuild a clustered index. (If there have been a lot of randomly-distributed...
November 27, 2006 at 8:20 am
Use the "Design Query in Editor" toolbar button to use the graphical query designer. It won't run queries, but when you're finished the query is automatically pasted into the active...
November 22, 2006 at 8:28 am
This version should be fairly robust. This will prevent multiple users from getting the same number, but it will create locking problems if you have a lot of concurrent users. ...
November 22, 2006 at 8:06 am
Viewing 15 posts - 676 through 690 (of 1,315 total)