Viewing 15 posts - 256 through 270 (of 1,170 total)
Revenant (1/21/2016)
ZZartin (1/21/2016)
Ray K (1/21/2016)
Luis Cazares (1/21/2016)
djj (1/21/2016)
Ed Wagner (1/21/2016)
crookj (1/21/2016)
Igor Micev (1/21/2016)
Ed Wagner (1/21/2016)
DonlSimpson (1/21/2016)
Igor Micev (1/21/2016)
Grumpy DBA (1/21/2016)
Ed Wagner (1/21/2016)
djj (1/21/2016)
BL0B_EATER (1/21/2016)
Stuart Davies (1/21/2016)
Ed Wagner (1/20/2016)
Ray K (1/20/2016)
djj...
January 22, 2016 at 12:35 am
Ed Wagner (1/21/2016)
DonlSimpson (1/21/2016)
Igor Micev (1/21/2016)
Grumpy DBA (1/21/2016)
Ed Wagner (1/21/2016)
djj (1/21/2016)
BL0B_EATER (1/21/2016)
Stuart Davies (1/21/2016)
Ed Wagner (1/20/2016)
Ray K (1/20/2016)
djj (1/20/2016)
RoastedChicken
Ribs
Spare
Tyre
Tired
Sleep
Insomnia
AlwaysOn
Availability
Phone
Cell
January 21, 2016 at 8:20 am
Grumpy DBA (1/21/2016)
Ed Wagner (1/21/2016)
djj (1/21/2016)
BL0B_EATER (1/21/2016)
Stuart Davies (1/21/2016)
Ed Wagner (1/20/2016)
Ray K (1/20/2016)
djj (1/20/2016)
RoastedChicken
Ribs
Spare
Tyre
Tired
Sleep
Insomnia
AlwaysOn
January 21, 2016 at 6:21 am
I had the same situation some months ago. I think this article helped me - http://blog.sqlauthority.com/2014/11/07/sql-server-performance-counter-missing-how-to-get-them-back/
Unload and re-load the counters.
January 20, 2016 at 1:25 pm
newbieuser (1/20/2016)
Thanks got it.declare @weekday varchar(10)
declare @in_date date='01/20/2016'
select @weekday=datename(weekday,CONVERT(VARCHAR(10),@in_date,101))
select @weekday
Even if you don't convert it with a style, sql server will recognize it and return the day-name from the date....
January 20, 2016 at 1:06 pm
newbieuser (1/20/2016)
January 20, 2016 at 1:01 pm
--Example
declare @weekday varchar(10)
declare @in_date date='2016-01-20'
select @weekday=datename(weekday,@in_date)
select @weekday
or something like this
declare @weekday varchar(10)
select @weekday=datename(weekday,t.[datetime_column])
from Dual as t where t.ID = [value] -- this should be an unique id
January 20, 2016 at 12:52 pm
Hi,
The message is clear: it tells you that you cannot make the update/modify so that you're violating the unique index constraint. The duplicate key value is 3601506. Such value is...
January 20, 2016 at 12:06 pm
Hi
This code gives you the number of weeks:
select '11/1/2015' Date1, '2/11/2016' Date2, DATEDIFF(week,'11/1/2015','2/11/2016') [Weeks]
then you'd need something like this (maby a bit more complex code, though) to make a count...
January 20, 2016 at 8:57 am
Jeff Moden (1/14/2016)
Igor Micev (1/14/2016)
•Table variables (DECLARE @t TABLE) are visible only to the connection that creates...
January 14, 2016 at 7:51 am
You have many options when you need to use Temp object in SQL Server:
•Table variables (DECLARE @t TABLE) are visible only to the connection that creates it, and are deleted...
January 14, 2016 at 7:01 am
SQLRNNR (1/12/2016)
I dunno about the "correct" answer on this one. The statements compile for me but produce an error at run-time. Seems to be a bit of a mixup here.
You...
January 13, 2016 at 7:38 am
Good question. And if you want to lengthen the column you can do it directly without dropping the index.
January 12, 2016 at 12:53 am
J Livingston SQL (1/4/2016)
Wayne West (1/4/2016)
DECLARE @HashThis VARCHAR(20) = 'January 1, 2016';
SELECT 'MD2' AS...
January 5, 2016 at 3:43 am
Viewing 15 posts - 256 through 270 (of 1,170 total)