Viewing 15 posts - 106 through 120 (of 184 total)
thanks Gail.
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 26, 2011 at 4:46 am
Please restart your sql server and check if it works.
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 26, 2011 at 4:45 am
Select Name as IndexName,
STATS_DATE ( object_id , index_id ) as IndexCreatedDate
From sys.indexes
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 26, 2011 at 3:10 am
declare @a decimal(18,2)
set @a=18.40
if @a>round(@a,0)
Begin
if @a-round(@a,0)<=.25
Begin
select @a=round(@a,0)+.25
goto Value
end
else
Begin
--select round(@a,0)
select @a=round(@a,0)+.5
goto Value
end
end
Else
Begin
if round(@a,0)-@a=.25 or round(@a,0)-@a=.50
begin
goto Value
end
If round(@a,0)-@a>.25
Begin
set @a=round(@a,0)-.25
goto Value
end
else
begin
set @a=round(@a,0)
goto Value
End
end
value:
print...
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 24, 2011 at 2:44 am
Getting the same error when connecting through cmd prompt. This may be due to some other automatic connection is getting established before I connect to the server.
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 23, 2011 at 7:13 am
Login failure can be seen from sql server error log files.
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 19, 2011 at 6:55 am
BCP utility
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 18, 2011 at 8:30 am
Best practice will be your sql server service and agent accounts not to be the local administrative group.
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 18, 2011 at 2:37 am
Thanks
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 13, 2011 at 4:37 am
You can use the below query to get the from date and to date.
declare @firstday varchar(20)
declare @quater int
DECLARE @curr_date DATETIME
DECLARE @Fromdate DATETIME
DECLARE @Todate DATETIME
SELECT @curr_date = GETDATE()
select @quater=DATEPART(qq,getdate())
if @quater=1
Begin
set @firstday='01/01/'+convert(varchar(10),DATEPART(YYYY,getdate()))
select...
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 10, 2011 at 7:14 am
what is the error you are getting?
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 5, 2011 at 3:43 am
Try connecting with . or your PCname to connect to default instances.
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 5, 2011 at 3:21 am
I suppose we can not run mutiple instances on same port.
Ryan
//All our dreams can come true, if we have the courage to pursue them//
May 4, 2011 at 5:50 am
You can get the information from syslogins table.
Ryan
//All our dreams can come true, if we have the courage to pursue them//
April 28, 2011 at 12:58 am
Check this link also
Ryan
//All our dreams can come true, if we have the courage to pursue them//
April 27, 2011 at 7:37 am
Viewing 15 posts - 106 through 120 (of 184 total)