Viewing 15 posts - 16 through 30 (of 45 total)
This fix is at your own risk. I have never had a database come back suspect or corrupt becuase of a reboot.
I have however had to wait a couple of...
October 8, 2004 at 3:09 pm
Did you receive any error messages when you backed up the database?
October 8, 2004 at 2:40 pm
When I run into that situation I reboot the server.
When i restart I start SQL in single user mode and let the databases recover then restart in normal mode.
October 8, 2004 at 2:36 pm
There is software available to monitor services and page you when they go down.
I use What's Up Gold for monitoring the SQL and Agent services on my servers. It is...
October 8, 2004 at 7:25 am
Here you go, try this:
--Get default values for all objects in the database
select object_name(sc.id) AS 'Table Name', scol.name AS 'Column Name',
object_name(sc.constid) AS 'Constraint Name',
scom.text AS 'Default Value' from...
October 7, 2004 at 2:41 pm
How about something like this:
select
CASE PATINDEX( '%[a-Z]%', col1)
WHEN 0 THEN
stuff('000',4-len(col1),len(col1),col1)
ELSE
stuff('000',4-PATINDEX( '%[a-Z]%', col1)+1,len(col1),col1)
END
from test1
Where test1 is the table in question and col1 is the column you...
October 6, 2004 at 3:56 pm
I do not know of a way to execute T-sql when you create a stored proc.
You could however, run a job periodically that looks at the create date (crdate) in...
October 6, 2004 at 3:26 pm
On my servers the only reference to backup locations is on the SQL Agent job itself. Backup database 'databasename' to disk='backup location and file here' with init.
October 6, 2004 at 1:07 pm
With the database set to Simple deletes will still be logged, but the log will be truncated upon completion of the delete. If you work on smaller sets of data...
October 6, 2004 at 1:04 pm
If the old server is no longer used you could map the DNS name of the old server to the IP address of the new server.
This would only be possible...
October 6, 2004 at 10:05 am
Why don't we just post the answer in the forum for those individuals who look here first?
September 8, 2004 at 6:40 am
Do sp_hexadecimal and sp_help_revlogin both exist on your master datase?
August 20, 2004 at 7:22 am
Equivalent of truncate = non-logged process to empty a table (worksheet in this case)
drop and recreate meets the requirement IMHO
August 18, 2004 at 6:53 am
Viewing 15 posts - 16 through 30 (of 45 total)