Viewing 15 posts - 46 through 60 (of 134 total)
The maximum key length is 900 bytes and if you create the nonclustered index that is having > 900 bytes. Index will create (expect non-key columns i.e., Columns that...
August 23, 2011 at 4:42 am
Check the below code
Declare @year varchar(10)='2011' -- Input
Declare @Dpart Tinyint
set @year = @year+'-01-01'
set @Dpart= Datepart(DW,@year)
Select Case When @Dpart = 2 Then @year When @Dpart < 2 Then DateAdd(dd,2-@Dpart,@year) ...
August 18, 2011 at 3:00 am
Hi Sumanta,
Thanks for the reply , i will try this to implement.
Regards-Deepak
August 12, 2011 at 10:45 pm
Hi Brandie,
i want to get an email alert including error message that are logged either in the sysjobhisory or error log as soon as error occured. As An automated prcocess.
Regards...
August 12, 2011 at 7:04 am
Hi Brandie,
Thanks for your reply,
We receive notifications once a job fails, however, at this time, we need to check the job history/log to figure out why the job fails, and...
August 12, 2011 at 6:23 am
hi chris,
i will aggree , if we encounter any error in T-SQL , we will get error message , what if the job invocation itself failed ? and also...
August 12, 2011 at 5:33 am
hi Chris,
Thanks For your reply.
chris.mcgowan (8/12/2011)
You can E-mail an operator when the job fails (right click the job / properties / Notifications)
Will this provide error information , i mean...
August 12, 2011 at 3:23 am
i think SSRS subscription will be better option either standard subscription or data driven subscription based on your requirement.
August 9, 2011 at 10:29 pm
you want the random values from the table ? if so use newid() in order by
ex : select * from tablename order by newid()
Regards- Deepak
August 9, 2011 at 7:21 am
Lowell (8/9/2011)
don't forget Central Management Server is SSMS 2008...that allows you to run the same command on multiple servers.
what is the minimum permission required for CMS ?
it all depends...
August 9, 2011 at 7:17 am
Welsh Corgi (8/9/2011)
deepak.a (8/9/2011)
Hi All,how to run a sql from other servers without using linked servers ?
Thanks & Regards
Deepak
You can use SSIS which I prefer or OPENROWSET or OPENQUERY.
yes we...
August 9, 2011 at 7:07 am
Jayanth_Kurup (8/9/2011)
in SSMS you can directly connect to the target server
in the Query window i need to run sql script not by connecting another server in SSMS. I mean...
August 9, 2011 at 7:05 am
is there any way we can execute in SSMS
Regards - Deepak
August 9, 2011 at 3:14 am
SQLkiwi (8/2/2011)
Good question, but try:
SELECT 'Test' WHERE EXISTS (SELECT LOG(0))
TSQL is not a model of consistency.
Even for the below statement also
SELECT 'Test' WHERE EXISTS (SELECT SQRT(-1))
August 2, 2011 at 11:00 pm
Viewing 15 posts - 46 through 60 (of 134 total)