Viewing 15 posts - 976 through 990 (of 1,065 total)
Use DATEADD function. For example:
select getdate(), dateadd(m, -25, getdate())
2008-06-23 10:03:11.3172006-05-23 10:03:11.317
June 22, 2008 at 10:35 pm
>>i can do that by running update query manually but when i run sp its not working pls help me
You mean following query is working. Right?
update testtbl set value='anj@test.com'...
June 20, 2008 at 12:26 am
Replace '31/05/2008' with '05/31/08'
June 20, 2008 at 12:06 am
>>Should I create these indexes during the schema creation or after the populations scripts?
Create indexes after pupulating the data.
Benefits:
1) Data population will be faster as there is no index update.
2)...
June 19, 2008 at 11:56 pm
If you have difficulty in restoring the database using UI, use RESTORE command.
For example:
restore database NewDatabaseName
from disk = 'E:\Training_full.bak'
with move 'Training_Data' to 'E:\Training2_Data.mdf',
move 'Training_Log' to 'E:\Training2_Log.ldf'
June 19, 2008 at 4:48 am
We have alert for all the object (table, stored procedure, index, etc) changes.
June 17, 2008 at 10:35 pm
>> Why do we name all constraints by the same name here?
Same name is not used for all the constraints. It is used for only for the first one...
June 17, 2008 at 4:42 am
Log is written sequentially. Therefore, multiple files will not improve performance.
You can go for it to resolve free disk space issue.
June 16, 2008 at 5:08 am
>> whether I should do first 70-441 or 70-443.
Do first the one which is easy to you.
June 16, 2008 at 4:17 am
BOL:
To run this stored procedure (sp_add_job), users must be a member of the sysadmin fixed server role, or be granted one of the following SQL Server Agent fixed database roles,...
June 13, 2008 at 3:39 am
Using Profiler, it is possible to get which user is calling which stored procedure from which host.
June 13, 2008 at 12:55 am
If you are using Windows Authentication for that user, password is to be changed in the Active Directory.
June 12, 2008 at 5:35 am
Viewing 15 posts - 976 through 990 (of 1,065 total)