Viewing 15 posts - 376 through 390 (of 466 total)
Can you just update your position column and set it to 73 minus what it is now?
May 8, 2012 at 1:31 pm
Hockey has it figured out with the review process IMO. They have a group of people in a "War Room" in Toronto watching all the games every night. ...
May 3, 2012 at 9:08 am
Being a Cubs fan, I don't follow the AL too much but I knew Pujols has been struggling this year. I went and looked at his stat line and...
May 2, 2012 at 4:14 pm
Thanks Hector, I like that approach. I've used dynamic SQL so little that I forget about it sometimes.
April 19, 2012 at 1:15 pm
There was only about 6,000 in the customer table and 7 patterns we were looking for so it really wasn't an issue. This just got my curiosity up and...
April 19, 2012 at 11:22 am
With out posting any table definitions or sample data it's hard to tell, but I assume that it is the getdate() causing you problems. It will return the date...
April 16, 2012 at 9:47 am
Lynn Pettis (4/11/2012)
roryp 96873 (4/11/2012)
You'll want to partition the row_number by year as well if you are going to have dates with different years.
Take a close look at the code...
April 11, 2012 at 2:09 pm
You'll want to partition the row_number by year as well if you are going to have dates with different years.
April 11, 2012 at 1:52 pm
Thomas Abraham (4/11/2012)
Thanks for a straight-forward question. Although, in mid-week, I kind of miss the arguments, er discussion. 😉
Well one could argue that "maybe" is never a wrong answer for...
April 11, 2012 at 8:39 am
calvo (4/9/2012)
I was fortunate enough to get to the final exhibition game when the Red Sox came to town! Great game, lots of fun to watch the...
April 9, 2012 at 1:38 pm
http://msdn.microsoft.com/en-us/library/ms187819(v=sql.105).aspx Yup, datetime rounds to the nearest .000, .003, or .007 seconds.
April 5, 2012 at 11:24 am
Probably, I am on both sites, but I use gmail so I don't worry about spam at all.
April 5, 2012 at 10:30 am
FOR XML is used to return query results in XML format. You can read more about it in the documentation. I don't know the in's and...
April 5, 2012 at 8:03 am
This should help.
declare @a table (agentid int, name varchar(10))
declare @C table (cityid int, name varchar(15))
declare @x table (agentid int, cityid int)
insert into @a
select 1,...
April 4, 2012 at 4:30 pm
capn.hector (4/2/2012)
roryp 96873 (4/2/2012)
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...
April 2, 2012 at 1:39 pm
Viewing 15 posts - 376 through 390 (of 466 total)