Viewing 15 posts - 211 through 225 (of 1,825 total)
vivekvinodhraj (6/20/2011)
no i have not used indexing...
Then try adding one,
Create index idxProductDetail on ProductDetail (ProductName )
Should do you
June 20, 2011 at 7:09 am
a) dont use 'sa' , 'sa' as user / password
b) read up on sql injection attacks
c) have you an index on ProductDetail.ProductName ?
June 20, 2011 at 1:34 am
Sounds as if you need some form of server side paging.
June 20, 2011 at 12:07 am
try this for starters,
http://www.sqlservercentral.com/articles/Tally+Table/72993/
Then all you need is a sum
June 19, 2011 at 1:01 pm
Anything by Itzik Ben-Gan would be highly recommended.
June 19, 2011 at 12:12 pm
Ok , so we all have differing opinions of Celko, but a response after three and a half years :crazy:
June 19, 2011 at 1:44 am
Looks like homework...
http://efreedom.com/Question/1-5021993/Way-Make-SQL-Efficient
http://stackoverflow.com/questions/5021993/is-there-a-way-to-make-this-sql-more-efficient
June 18, 2011 at 1:26 pm
Another thought......
Would these functions return an ANSI warning ie "NULL value eliminated from query"
As that may be being 'consumed' somewhere and causing the slow down.
Ive mocked it up on a...
June 15, 2011 at 11:34 am
Its not ANSI_WARNINGS , im guessing you are testing with SET STATISTICS TIME ON , that is your difference
http://sqlblogcasts.com/blogs/sqlandthelike/archive/2009/11/24/the-observer-effect-in-action.aspx
June 14, 2011 at 2:00 pm
As a general rule i would advise against using such things with out a full and proper understanding of exactly why.
Have you been able to identify the code that is...
June 14, 2011 at 1:54 pm
I'd rather do an update query that takes a couple of minutes to execute - if it means improving the performance of my select query by even a second....
June 14, 2011 at 2:52 am
Thanks Jeff, nice suggestion. Done.
June 12, 2011 at 9:21 am
You cant really do that, maybe try a default column value....
But this seems like a wrong design to me. Ideally you would not be storing the url directly,...
June 12, 2011 at 2:52 am
subrata.bauri-1051938 (6/1/2011)
Dave Ballantyne (6/1/2011)
Also, please confirm which version of SqlServer you are using.This is a SqlServer 7 / 2000 forum, are you using a later release ?
SQL SERVER 2005
Then...
June 1, 2011 at 4:52 am
mazzz (6/1/2011)
The RBAR way of asking a question...?
QBAQ , i like it 🙂
June 1, 2011 at 4:51 am
Viewing 15 posts - 211 through 225 (of 1,825 total)