Viewing 15 posts - 37,351 through 37,365 (of 39,818 total)
I usually do two things.
1. Measure the time (use select getdate() around the queries) on the server or client.
2. Check the subtree cost. The percentage cost will always be 1...
August 5, 2002 at 9:17 am
Roll with fulls every hour (or every 30 minutes) and then logs every minute or two.
Be sure you get these off the local server in case the server itself fails.
Steve...
August 2, 2002 at 2:46 pm
Sorry, I see what you mean.
In the code, the first replace is a single quote, followed by 2 single quotes, then another single quote. Why 4?
1 - open string
2...
August 2, 2002 at 2:45 pm
I roll with logs every hour and once a day backups. We may shrink this down. However, it's a question of restore time. How quickly do you want to be...
August 2, 2002 at 2:38 pm
Tough to say. Are teh servers the same hardware? Could be that. Could be fragmented. Might want to check with dbcc showcontig and rebuild clustered indexes.
Steve Jones
August 2, 2002 at 2:29 pm
Thanks
.
I need to modify this, but the main point still stands. Make someone write some code and use questions that show someone understands SQL, NOT that...
August 2, 2002 at 2:27 pm
Each single quote must be doubled for SQL to work a ' repeated as '' is not the same as ". They are two difference characters.
If you replace(@string, '''', '''''')...
August 2, 2002 at 9:57 am
You are welcome and glad to help.
BTW, I usually use a Domain account so I can get to mail, remote backups, etc. Local Admin, not Domain admin.
Steve Jones
August 2, 2002 at 9:53 am
Go into Control Panel, Admin Tools, Services and check the account under which SQL Server runs. It's not the account you log in as.
Steve Jones
August 2, 2002 at 9:22 am
Most changes require a rebiuld of the table because the physical structure changes. If you change the table in EM, the third button from the left is a script button....
August 2, 2002 at 9:19 am
yes, you rebuild the index and you can specify the filegroup.
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28000409
note the ON clause.
Steve Jones
August 1, 2002 at 4:14 pm
Moving the clustered index should do this. I'd be sure you save the changes, shut down EM and then go back to be sure it refreshes.
Steve Jones
August 1, 2002 at 2:03 pm
Nothing I know of, but I suspect you can do this, but the SQL (rgular) install will be an instance.
Steve Jones
August 1, 2002 at 1:59 pm
You will save headaches as Brian mentioned. ALWAYS use roles and groups. NEVER assign individual users.
Steve Jones
August 1, 2002 at 1:52 pm
What do you mean? Run profiler programmatically? This can be done. There are stored procedures to run server side traces.
Steve Jones
August 1, 2002 at 1:37 pm
Viewing 15 posts - 37,351 through 37,365 (of 39,818 total)