Viewing 15 posts - 7,006 through 7,020 (of 26,490 total)
Try this in SSMS:
sp_helplanguage @@language
January 17, 2014 at 10:58 am
yashuvp (1/17/2014)
January 17, 2014 at 10:29 am
yashuvp (1/16/2014)
Year, Month, and Day parameters describe an un-representable DateTime. (mscorlib).
Any...
January 17, 2014 at 10:01 am
How is this?
declare @TestDate date = getdate();
select dateadd(month,3,dateadd(year,datediff(year,0,dateadd(month,-3,@TestDate)),0))
set @TestDate = '20140413';
select dateadd(month,3,dateadd(year,datediff(year,0,dateadd(month,-3,@TestDate)),0))
set @TestDate = '20140331';
select dateadd(month,3,dateadd(year,datediff(year,0,dateadd(month,-3,@TestDate)),0))
set @TestDate = '20140401';
select dateadd(month,3,dateadd(year,datediff(year,0,dateadd(month,-3,@TestDate)),0))
January 17, 2014 at 7:52 am
JimbobsQL (1/17/2014)
I'm trying to find the most succinct way to get the last occurrence of April 1st given a date.
At the moment I'm using this:
DECLARE @Date DATE = '20131217'
SELECT...
January 17, 2014 at 6:52 am
Think of BETWEEN as the following:
...
where
FilterColumn >= @StartDate and FilterColumn <= @EndDate
Would this make sense if @StartDate was greater than @EndDate?
January 15, 2014 at 10:13 pm
Hard to tell you what you should do since we can't see what you see. It would help if you posted your code and the DDL for the table...
January 15, 2014 at 6:12 pm
GilaMonster (1/14/2014)
Lynn Pettis (1/14/2014)
Just verifying that 824 errors usually point to a possible I/O Subsystem issue.
Almost definite. Something changed values on that page on disk after SQL wrote it out,...
January 14, 2014 at 10:37 pm
Just verifying that 824 errors usually point to a possible I/O Subsystem issue.
January 14, 2014 at 9:27 pm
ccmret (1/13/2014)
January 13, 2014 at 1:26 pm
USE Sims
go
select * from dbo.Students where StudentID = 1; -- Will select data from Students table in database Sims
go
USE SimsCopy
go
select * from dbo.Students where StudentID = 1; -- Will select...
January 12, 2014 at 8:08 am
mwitthoft (1/12/2014)
January 12, 2014 at 6:09 am
rho_pooka (1/11/2014)
Jeff Moden (1/11/2014)
Although it may seem so, I'm not being sarcastic at all when I ask you, do you know what "Books Online" is? People who ask the...
January 12, 2014 at 6:06 am
rocky_498 (1/10/2014)
Thanks, this topic is Delete
May I ask why you deleted your original question? To be honest it is bad form especially since it is possible others my have...
January 11, 2014 at 12:24 pm
Viewing 15 posts - 7,006 through 7,020 (of 26,490 total)