Viewing 15 posts - 1,666 through 1,680 (of 1,825 total)
Please see this thread for what is required from you
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
July 21, 2009 at 6:25 am
Will this do
select * from #temp order by case when isnumeric(response)=1 then convert(integer,response) else 99999999999 end,response
July 21, 2009 at 5:44 am
Hard to say exactly ,could be multiple factors involved , not least the amount of data sent to the client. post the SQLPlans.
July 21, 2009 at 3:39 am
Also, are you having unrealistic expectations of what can be achieved?
What would be an acceptable time-scale for the execution?
How can are you away from that now ?
What...
July 21, 2009 at 3:00 am
Also datediff counts boundaries, not calendars
try this
select datediff(yy,'31dec2009','01jan2010')
July 20, 2009 at 8:55 am
scziege (7/20/2009)
and I have to check if the created 100 Million codes a unique
against my 130 Millions codes and itself.
Therefore...
July 20, 2009 at 8:39 am
He's subtracting the hours and minutes from the present to 'floor' it ie get the midnight datetime of today.
It better achieved by 'DATEDIFF(DAY,0,@Date)', that accounts for second and milliseconds...
July 20, 2009 at 8:23 am
When you read statements like
I will appreciate if I can get the actual command so I will just apply it.
http://www.sqlservercentral.com/Forums/Topic755603-9-1.aspx
Is it just me who internally screams , UNDERSTAND WHAT YOU...
July 20, 2009 at 4:15 am
Its just simple maths!
If you have the id's 1 thru 10 and you want to update them to 11 thru 20 you just add 10 to the id , yes?
If...
July 20, 2009 at 4:04 am
From what you've said:
Update scoretable
set score_id = score_id- 28323
where score_id between 28324 and 32768
will do what you need...
I...
July 20, 2009 at 3:33 am
From the example you've given, it would look like using MAX would suit you needs.
However from the description you seem to need more and need to filter on rownumber()
heres an...
July 20, 2009 at 2:42 am
July 17, 2009 at 8:57 am
Are all your statistics upto date ?
The actual row counts differ vastly from the estimates.
July 17, 2009 at 8:51 am
Heres all you need to know about dates in Sqlserver
July 17, 2009 at 8:42 am
Tara (7/17/2009)
Read locks don't block other readers. If you have on updates, you shouldn't have any blocking
as i said most of the time we only do SELECTS on the databases...
July 17, 2009 at 7:29 am
Viewing 15 posts - 1,666 through 1,680 (of 1,825 total)