Ask a Question related to ASP Database, Design and Development.
-
Cowboy \(Gregory A. Beamer\) #1
Re: Select with numeric conditions in the where part
Try this:
[url]http://www.winnetmag.com/Articles/Index.cfm?ArticleID=21365[/url]
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge
************************************************** **************************
****
Think Outside the Box!
************************************************** **************************
****
"Luigi Nizzi" <Luigi.nizzi@np.ge.com> wrote in message
news:078001c349f3$425dccf0$a101280a@phx.gbl...> System:
> Windows: 2000 SP3
> IIS5.0
>
> We have a performance issue when we run a simple query
> with numeric field in the where part:
>
>
>
> We do not have the same problem in NT server (IIS 4.0) or
> using personal Web server (Windows 2000)
> :
>
> The query we run several times is:
> SELECT * FROM [fcotepos] WHERE Anno=0 AND Mese=0 AND
> Serial=0
>
> Performance On the Web server:
> Time Query
> [0.08] ### SELECT * FROM [fcotepos] WHERE Anno=0 AND
> Mese=0 AND Serial=0
> [0.09] ### SELECT * FROM [fcotepos] WHERE Anno=0 AND
> Mese=0 AND Serial=0
> .
> .
> CPU Utlization only 50% (why it does not use all the CPU
> available ? The other CPU remains idle)
>
> Performance On the Personal Web server:
> Time Query
> [0.01] ### SELECT * FROM [fcotepos] WHERE Anno=0 AND
> Mese=0 AND Serial=0
> [0.01] ### SELECT * FROM [fcotepos] WHERE Anno=0 AND
> Mese=0 AND Serial=0
> .
> .
> CPU Utlization 100%
>
> May you help us or give us indications ?
> Thanks
> Luigi
>
Cowboy \(Gregory A. Beamer\) Guest
-
numeric part of a string
Can anyone tell me how can I get the numeric part of a string . for example I'm using this..Select substring('walnut 2224... -
WebControl, to select part of a web-image.
Hi, I'm looking for an ASP.NET web-control in wich I can show a generated image to user, the user should then be able to select part of the... -
Select from function for part of column results
Hi Oisin On 03/02/05, Oisin Glynn (me@oisinglynn.com) wrote: This works great for a function returning a single column. I'm not sure how to do... -
if and conditions
i dont know script but this is what im trying to do and i wrote it out maybe someone can help me with this on (press) if(anymovieclip is open )... -
SQL SELECT Based on *PART* a text Field?
Hello, I'm trying to figure out some SQL here and am wondering this: Is it possible to select data based on a sub-string of a text field? ... -
Aaron Bertrand - MVP #2
Re: Select with numeric conditions in the where part
> CPU Utlization only 50% (why it does not use all the CPU
(1) are the same indexes employed in both servers?> available ? The other CPU remains idle)
>
> Performance On the Personal Web server:
> Time Query
> [0.01] ### SELECT * FROM [fcotepos] WHERE Anno=0 AND
> Mese=0 AND Serial=0
> [0.01] ### SELECT * FROM [fcotepos] WHERE Anno=0 AND
> Mese=0 AND Serial=0
> .
> .
> CPU Utlization 100%
(2) does one of the servers only have 1 cpu allocated to SQL Server?
Aaron Bertrand - MVP Guest



Reply With Quote

