Viewing 15 posts - 6,496 through 6,510 (of 7,191 total)
What command did you use to defrag your indexes? Have you considered rebuilding them?
John
March 15, 2007 at 5:44 am
Bagath
There's an undocumented extended stored procedure called xp_eventlog. I don't know exactly what it does or even whether it would be right for what you want, but I'm sure you'll...
March 15, 2007 at 5:29 am
Kumaran
The only way I know is like this:
(1) Script out your logins, jobs and so on
(2) Back up your user databases
(3) Uninstall SQL Server
(4) Install SQL Server RTM
(5) Apply SP3a
(6)...
March 13, 2007 at 10:19 am
Yes - my free download also included SQL Refactor and SQL Doc but only had a licence key for SQL Prompt. When I contacted Red Gate they apologised for any...
March 13, 2007 at 5:30 am
Dave
The same principle applies - schedule a regular job that scripts out the users and groups regularly. I don't know exactly how you'd do that, but the NET USER and...
March 6, 2007 at 2:10 am
Ninel
You need to trap error message 1205. See Detecting and Ending Deadlocks in Books Online for more details.
John
March 5, 2007 at 8:56 am
Joe
So the Code column in your nuts_Names table has NULLs in it? How do you want to deal with those? It would help if you could provide the CREATE TABLE...
March 5, 2007 at 3:29 am
Dave
It depends on how you are doing your DR. If you are restoring all databases, including master, at the DR site, then you don't need to do anything to recreate...
March 5, 2007 at 3:12 am
James
I take your original question as meaning that you're looking for the existence of the stored procedure, rather than its use. If that's the case you don't need a Profiler...
March 5, 2007 at 3:04 am
Open the Client Network Utility, click on the Alias tab and click on Add. Choose the TCP/IP radio button. Type the SERVERNAME\INSTANCE in the Server alias box, the IP address...
March 2, 2007 at 8:44 am
If you're doing this as part of a SQL Server Agent job, you can choose Operating System Command from the drop-down list in the job step box. But as for...
March 2, 2007 at 8:37 am
Susan
Beware if you have any negative numbers in that column. For example, -1.5 will be converted to -2. If that isn't what you want, you need to put a bit...
March 2, 2007 at 7:40 am
UPDATE basic
SET alternate_id = FLOOR(CAST(alternate_id AS DECIMAL))
March 2, 2007 at 7:19 am
Susan
If all the data in your column is decimals, you can convert to a number and take the integer part:
SELECT FLOOR(CAST('2345.123' AS DECIMAL))
John
March 2, 2007 at 6:01 am
Charlie
Try putting that query through the Database Tuning Advisor and see what it suggests.
Generally speaking, you will want indexes on columns used in JOIN clauses, WHERE clauses and ORDER BY...
March 2, 2007 at 2:22 am
Viewing 15 posts - 6,496 through 6,510 (of 7,191 total)