Viewing 15 posts - 1,066 through 1,080 (of 1,216 total)
I think you simply have to qualify the owner when calling a UDF... however, I never tried to find a way around it, because I do it anyway (even if...
February 28, 2005 at 2:14 am
I think Adam's solution is what you are looking for, but you didn't give too many clues to what you'll be doing with the result, what's the data structure and...
February 28, 2005 at 2:00 am
Try this... I'll post it along with DDL. I included in the query several columns that are not necessary, but could help you understand how it works. Also, I'm sure...
February 25, 2005 at 6:20 am
Just a hint: you can paste a long complicated SQL into the command window of a job step, but it is hard to maintain it. It is much better to...
February 25, 2005 at 4:11 am
If you already have the disks, why not use them? Yes, it is overkill, but the DB will probably grow, and also you may need to add other databases later....
February 25, 2005 at 3:49 am
Haywood Ja,
yes, I know that my post was partially off topic, it didn't discuss this question precisely (i.e. not including the precise values given in the example) - I simply extrapolated what...
February 22, 2005 at 5:10 am
In fact, the entire query is a good example of bad practice (which I think was the reason why we were asked this question)... To avoid confusion originated by rounding, more reliable query...
February 21, 2005 at 7:33 am
Hello Karami,
your table is bigger than those I work with (these have max. about 30M rows), but I still think that splitting it into monthly tables is not a good idea....
February 16, 2005 at 2:27 am
I would recommend to follow Nick's suggestion and convert it to CASE statement. CASE works very much like IF...ELSE, because it checks the WHEN conditions one by one, in the...
February 15, 2005 at 1:52 am
EM tends to have certain problems, like that one with Current Activity... I wasn't able to track down the reason of EM hanging in this case, and so prefer to use...
February 15, 2005 at 1:28 am
AFAIK, SQL Server 2000 optimizer takes care of that, and the order of conditions shouldn't affect results. It can make difference whether you put certain table into FROM clause or...
February 11, 2005 at 2:25 am
Hello Dan
clustered index means that the actual data are stored ordered by that index - that of course allows only one clustered index per table.
Indexes are helpful when selecting data from tables; during...
February 11, 2005 at 1:48 am
kk_Avantel,
AFAIK this only works in SQLS 2000. That's why you don't get the same result as I do.
Richard,
that's strange... however, if the QA is set to show results in Grid,...
February 4, 2005 at 6:02 am
Well, you didn't post DDL so I made my own tables and it works fine. The only difference to you desired result is, that the separator (-) appears in front;...
February 4, 2005 at 1:28 am
Hello Shankar,
I don't know precisely what your optimization job does - we have several such jobs (indexdefrag, indexrebuild, integrity check). Anyway, most probably you are speaking about the sqlmaint optimization...
February 2, 2005 at 1:26 am
Viewing 15 posts - 1,066 through 1,080 (of 1,216 total)