Viewing 15 posts - 3,346 through 3,360 (of 8,731 total)
trvlbabie (2/16/2016)
It is giving me the following error: SQL API: [SQLExecDirectW], SQL RETURN: [-1], SQL STATE: [42000], SQL NATIVE ERROR:...
February 16, 2016 at 12:24 pm
Just another option.
SELECT
StartTime = DATEADD(HH,-6,CAST(CAST(GETDATE() AS date) AS datetime)), -- 6PM yesterday
EndTime = DATEADD(HH,6,CAST(CAST(GETDATE() AS date) AS datetime)); -- 6AM today
February 16, 2016 at 11:25 am
You have several options. You can play with substring and charindex if the first items have variable lengths, or you could split the whole string and take the part you...
February 16, 2016 at 11:05 am
For this particular case, there's a simpler solution using common date routines[/url]
SELECT
StartTime = DATEADD(DD, DATEDIFF(DD, 0, GETDATE()), -.25), -- 6PM yesterday
EndTime =...
February 16, 2016 at 10:49 am
ChrisM@Work (2/16/2016)
SQLRNNR (2/16/2016)
jasona.work (2/16/2016)
GilaMonster (2/16/2016)
Cthulhu for president! Why vote for the lesser evil?
I'm leaning towards the Palpatine / Vader ticket myself...
Or if they don't make it, Bill and Opus...
(I refuse...
February 16, 2016 at 10:38 am
ripas (2/16/2016)
I am trying to run one stored procedure and it failed to run. And I got this error message when I was trying to execute. How could I solve...
February 16, 2016 at 10:34 am
DonlSimpson (2/16/2016)
Ed Wagner (2/15/2016)
Revenant (2/15/2016)
Luis Cazares (2/15/2016)
HappyGeek (2/15/2016)
AdamEve
Lilith
Isaiah
Thomas
Wayne
February 16, 2016 at 10:05 am
My suggestion is something that should be tested really carefully. It involves a technique called Quirky Update which is very fast but unreliable when not done properly. All the information...
February 16, 2016 at 9:12 am
Lynn Pettis (2/16/2016)
February 16, 2016 at 8:54 am
Hugo Kornelis (2/16/2016)
GilaMonster (2/16/2016)
Hugo Kornelis (2/16/2016)
Oh, I am not laughing. Not at all. I am concerned and bewildered. Mostly concerned.
Likewise. With a side of terrified that one of the buffoons...
February 16, 2016 at 7:50 am
SSIS won't work with temp tables. I'm not sure if table variables are an option or will cause the same error. The safest way is to create perm tables in...
February 15, 2016 at 12:09 pm
Eirikur Eiriksson (2/15/2016)
Luis Cazares (2/15/2016)
Eirikur,Any reason for using FLOOR on an integer division?
Old oracle habit
😎
:sick:Oracle:sick:
February 15, 2016 at 10:24 am
Eirikur,
Any reason for using FLOOR on an integer division?
February 15, 2016 at 8:36 am
If you're not using any calculations or functions in your join conditions, and you don't have an implicit conversion going on, you're probably reading the whole table or most of...
February 15, 2016 at 7:16 am
Viewing 15 posts - 3,346 through 3,360 (of 8,731 total)