Viewing 15 posts - 391 through 405 (of 466 total)
capn.hector (4/2/2012)
roryp 96873 (4/2/2012)
declare @myDate date
set @myDate = '2012-04-02'
select @myDate as myDate
Obviously this is really simple, but you can use the @myDate in calculations or comparisions like you...
April 2, 2012 at 1:34 pm
Something like this?
declare @myDate date
set @myDate = '2012-04-02'
select @myDate as myDate
Obviously this is really simple, but you can use the @myDate in calculations or comparisions like you would any other...
April 2, 2012 at 1:29 pm
No problem. Checking out the documentation can help give you a better understanding of the difference between the two if you are still having troubles.
March 30, 2012 at 1:12 pm
Just do an inner join instead of a full outer join.
March 30, 2012 at 1:03 pm
Ray K (3/28/2012)
In case anyone (like me) missed it, the season officially opened this morning! Woo-hoo!!! :w00t:
Also, in case anyone missed it, Magic Johnson's group is to purchase the...
March 28, 2012 at 10:57 am
March 22, 2012 at 4:47 pm
homebrew01 (3/22/2012)
The REPLACE function is another option.
Only if there are no single quotes within the address field.
March 22, 2012 at 12:55 pm
capn.hector (3/20/2012)
roryp 96873 (3/20/2012)
capn.hector (3/20/2012)
homework or interview??i have the answer just want to know why
EDIT well since its posted here is mine
I figured as much as well, but if...
March 20, 2012 at 4:57 pm
capn.hector (3/20/2012)
homework or interview??i have the answer just want to know why
EDIT well since its posted here is mine
I figured as much as well, but if they can't even...
March 20, 2012 at 4:50 pm
This is a pretty popular problem and can be googled for numerous solutions. Here's a slick one courtesy of the DBA I work with:
;WITH fb as(
select * from...
March 20, 2012 at 4:44 pm
john.arnott (3/19/2012)
March 19, 2012 at 1:02 pm
If ALL addresses have the start and end quote, you could do something like this:
select stuff(stuff(MyAddr, LEN(MyAddr), 1, ''), 1, 1, '')
from MyTable
March 19, 2012 at 9:34 am
I agree with Lutz, it is a little unclear what you want here. You have max date in your query but you have all the same dates. Do...
March 8, 2012 at 2:33 pm
Nice easy question. Still got me to go dig into BOL to make sure I had the right answer before I clicked submit though, so thank you!
March 8, 2012 at 8:42 am
Either way I think it is pretty stupid to have different rules between the two leagues, make it the same for both leagues. Although I would take the more...
March 7, 2012 at 9:43 am
Viewing 15 posts - 391 through 405 (of 466 total)