Viewing 15 posts - 1,291 through 1,305 (of 5,103 total)
Totally agree with Doug. FOR XML PATH *is* the way to solve these problems in SQL Server 2005. Now, that said I will vote *against* doing such thing on the...
* Noel
February 15, 2008 at 11:54 am
global temporary tables (##) DO get dropped automatically when ALL the connections that reference them are CLOSED.
You can find that here
For convenience this is the relevant part:
...
Global temporary tables have...
* Noel
February 12, 2008 at 2:06 pm
We do it all the time but computing fragmetation level is paramount if you have to do it intraday 😉
* Noel
February 12, 2008 at 1:52 pm
If you created the clustered index in the new file you effecively moved the table to that file. 😉
* Noel
February 6, 2008 at 3:44 pm
sdhan79 (2/4/2008)
If I am understanding this right, your query sample will look for
any customer who made purchase between given periods (let...
* Noel
February 4, 2008 at 3:42 pm
sdhan79 (2/4/2008)
I am currently trying to create a query to find the number of active customers on each month.
Business rule...
* Noel
February 4, 2008 at 2:10 pm
The "right" way is to put the calculated column in an inline view so that you have access to the name in the outer query. Oh and No it does...
* Noel
February 4, 2008 at 2:04 pm
I believe the real problem lies in this part:
... view with group by ...
Queries of views are "VERY" deceiving and indexes may not be appropriately used because you are hiding...
* Noel
February 4, 2008 at 1:09 pm
Totally in favor of using BCP over that "30000" insert lines !!!!
* Noel
February 4, 2008 at 12:53 pm
it is absolutely valid to cast the text column as xml
select x.vakue('Xpath Expression', 'datatype') extractedXmlData
from (
select cast( txtcol as xml) x from table
) data
* Noel
February 4, 2008 at 12:48 pm
One second is too short of a latency. The best you could do is to reduce the "ppoling interval" to one second but that will be "pushing" it ...
* Noel
January 15, 2008 at 2:10 pm
Vivien Xing (1/15/2008)
one more option: Freelance DBA and Consulting.
I vote for that 😀
* Noel
January 15, 2008 at 12:45 pm
given that you have only two drives I doubt that separating tables in different filegroups is going to buy you anything in terms of "preformance". Recovery time is probably a...
* Noel
January 15, 2008 at 12:02 pm
Viewing 15 posts - 1,291 through 1,305 (of 5,103 total)