Viewing 15 posts - 826 through 840 (of 925 total)
Check the format for DATEADD in BOL - you aren't using it correctly.
BrainDonor
February 5, 2010 at 12:55 am
mbookout (2/4/2010)
February 4, 2010 at 10:12 am
And DATEDIFF - two ways to solve the same problem.
BrainDonor
February 4, 2010 at 9:58 am
Duplicate post, responses to:
http://www.sqlservercentral.com/Forums/Topic859597-146-1.aspx
February 4, 2010 at 6:37 am
Roy Ernest (2/2/2010)
BrainDonor (2/2/2010)
This thread is going to get interesting.
I've been waiting for weeks for this one to show their head over the parapet.
BrainDonor.
By seeing your last post on...
February 2, 2010 at 9:15 am
sql_ques (2/2/2010)
SELECT LASTNAME FROM CPM.dbo.T_CANADIANWHERE '678567' BETWEEN '673001' AND '679000'
AND 'Z' BETWEEN 'P' AND 'P'
this worked.
Indeed it will. However, you've had to split the values yourself - originally...
February 2, 2010 at 9:03 am
This thread is going to get interesting.
I've been waiting for weeks for this one to show their head over the parapet.
BrainDonor.
February 2, 2010 at 8:48 am
sql_ques (2/2/2010)
Please tell me how to do it.
No.
I will however take as long as is required to help you to work out how to write it. That is how...
February 2, 2010 at 8:18 am
In which case you need to check the right-most character of the value first, and then if that is within range you can check the numeric part.
BrainDonor.
February 2, 2010 at 8:05 am
I can't say I've ever given any thought as to why MS names things the way it does (that way lies madness), but it probably generates some type of GUID...
January 28, 2010 at 5:00 am
Paul White (1/26/2010)
BrainDonor (1/26/2010)
http://www.sqlservercentral.com/Forums/FindPost853470.aspx
The same message three times in a row - he's determined someone will write...
January 26, 2010 at 3:35 am
Steve, could you give this call a nudge - it appears to be stuck....
http://www.sqlservercentral.com/Forums/FindPost853470.aspx
The same message three times in a row - he's determined someone will write it for him.
January 26, 2010 at 3:01 am
cmoloto-996602 (1/26/2010)
hi,cant u use my table example? where are u getting the "a" (the first update statement)from ?
Its called a Table Alias, and is a way of making SQL code...
January 26, 2010 at 2:36 am
Steve Jones - Editor (1/25/2010)
Lastly, add in your SET clause where you set values.
update a
set a.SalesDate = b.SalesDate
from...
January 25, 2010 at 8:10 am
The update statement is different, but the thinking behind it that solved the previous question is very similair.
You can update a field in a table with a subquery - using...
January 25, 2010 at 7:20 am
Viewing 15 posts - 826 through 840 (of 925 total)