Viewing 15 posts - 47,086 through 47,100 (of 59,064 total)
Rajesh (11/19/2008)
November 19, 2008 at 7:58 pm
SQLBOT (11/19/2008)
I think you'll like the next article which is about knowing what is the DBA's responsibility and saying "NO!" to what's contradicts CIA and the systems you have...
November 19, 2008 at 7:56 pm
mpdillon (11/19/2008)
Where cast(varchar(8),EndDt,112) <= Format('01/02/2009',"yyyyMMdd") Sorry for mixing T-SQL and VB.
However, both Jeff and Lynn bring up the issue...
November 19, 2008 at 7:54 pm
Lynn Pettis (11/19/2008)
shailesh (11/19/2008)
Where dbo.ufn_GetDateOnly(EndDt) <= '01/01/2009'
And doing this can result in your query not taking advantage of indexing on a table. If your tables are small, you...
November 19, 2008 at 7:49 pm
Hey, Naked Ape and BitBucket... thanks. It's folks like the two of you that make this all worthwhile. 🙂
November 19, 2008 at 7:43 pm
GilaMonster (11/19/2008)
Jeff Moden (11/18/2008)
"You should be using derived column transformation, and use substring or available string functions. This would help." ... and...
November 19, 2008 at 7:41 pm
kmohan39 (11/19/2008)
Hello there,This is the Task:
Select the title_id, type, and price from the titles table along with an average price for all tables
Not what I asked for... I...
November 19, 2008 at 6:49 pm
I've just gotta ask... what did you need the 1 Billion row numbers table for?
November 19, 2008 at 6:46 pm
Ok... I think I found an answer that's good enough... the feature list at the following URL says that "Distributed Queries" are supported in SQL Server Express...
http://msdn.microsoft.com/en-us/library/ms143761(SQL.90).aspx
... and BOL says...
November 19, 2008 at 2:48 pm
Dugi (11/19/2008)
November 19, 2008 at 6:23 am
The answer is that you probably want to line up decimal points among all values with commas, anyway. So, do this...
[font="Courier New"]SELECT REPLACE(STUFF(STUFF(STUFF(STR(1234.7656422,16,4),9,0,','),6,0,','),3,0,','),' ,',' ')[/font]
Still want to know...
November 19, 2008 at 12:07 am
karthikeyan (11/18/2008)
I have the below scenario.
select convert(varchar(30),convert(decimal(18,4),234543242.7656422),1)
is showing
234543242.7656
Since i need the result set with comma seperated i used the below query.
select convert(varchar(30),convert(money,234543242.7656422),1)
is showing
234,543,242.77
But.... The problem is it is...
November 18, 2008 at 11:41 pm
If you want to delete only 37,000 rows, it should take only six seconds. Do you have any triggers on the table? Does anyone have an uncommitted transaction...
November 18, 2008 at 11:31 pm
Adi... the link in your signature line is broken... it should be...
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Notice... no trailing square bracket.
And, thanks for including it. Wish we could get everyone to do that...
November 18, 2008 at 10:48 pm
Viewing 15 posts - 47,086 through 47,100 (of 59,064 total)