Viewing 15 posts - 946 through 960 (of 1,069 total)
Convert(varchar
1) In the master database the column type may be correct (varbinary).
2) You are converting to varchar. You should convert to varbinary.
BTW master database should not be used to store...
August 7, 2008 at 6:55 am
is there a way to see the datatype and name for every column in the query?
Yes, it is listed in the BOL.
August 5, 2008 at 12:00 am
Is there a way to only script or disable the defaults so that I can alter the columns and can have defaults restored afterwards.
sp_unbinddefault
alter table
sp_binddefault
August 4, 2008 at 10:56 pm
but i dont know how to call that job and send a mail
Don't call the job. Schedule it to run at required interval.
See the BOL to know more about sp_send_dbmail....
August 4, 2008 at 6:53 am
if that job is expired in 7 days so we have to send an email alert to those employer from 7 days onwards,
for this i need a trigger.
how to write...
August 4, 2008 at 5:13 am
Identity column is duplicated
Do you have any triggers?
If @@IDENTITY is used, replace it with SCOPE_IDENTITY()
July 31, 2008 at 12:12 am
I saw a large number of blocking.
Is it self blocking? If yes, ignore it.
July 31, 2008 at 12:05 am
domain wise you can group the tables
Schema can be used for this.
July 30, 2008 at 7:15 am
Following query shows whether SNAPSHOT is enabled or not:
select [name], is_read_committed_snapshot_on, snapshot_isolation_state, snapshot_isolation_state_desc
from sys.databases
where [name] = 'AdventureWorks'
July 30, 2008 at 1:07 am
but this does not list any options in the 'operator' drop down box.
You have to created an operator first.
It is very easy to create an operator.
Expand "SQL Server Agent". Right...
July 30, 2008 at 12:33 am
5GB is not that big.
It is recommended to keep .mdf and .ldf on separate drives.
July 30, 2008 at 12:09 am
Change to another database (master) before doing the restore. ?
i am not getting exactly wat u r trying to tell
USE master
GO
RESTORE DATABASE DatabaseName
FROM DISK = 'D:\BackupFileName.BAK'
July 14, 2008 at 7:48 am
BOL:
ALTER INDEX REORGANIZE statement is always performed online. This means long-term blocking table locks are not held and queries or updates to the underlying table can continue during the ALTER...
July 14, 2008 at 3:59 am
Viewing 15 posts - 946 through 960 (of 1,069 total)