Viewing 15 posts - 76 through 90 (of 155 total)
Here is an interesting new technical article about recompilations:
http://www.microsoft.com/technet/prodtechnol/sql/2005/recomp.mspx
This article compares the SQL Server 2005 behaviour with the SQL Server 2000 behaviour. Here is an interesting quote about this...
August 17, 2004 at 7:39 am
I mentioned the article 838166 because you can download from there a hotfix for SQL Server 2000 version 8.00.878 (this hotfix is later than SP3, which is 8.00.760).
You cannot uninstall MDAC;...
August 10, 2004 at 10:56 am
You have encountered a bug in SQL Server or in MDAC, possibly this one:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;299575
Update SQL Server to the latest service pack, update to MDAC 2.6 SP2 or later. If...
August 10, 2004 at 7:55 am
Corie,
An indexed view cannot be used in this scenario. You will get an error like the following: "Cannot index the view '<<view name>>'. It contains one or more disallowed constructs."....
August 10, 2004 at 7:39 am
Do you have any triggers on the destination table ? If yes, they may be the cause of the slowness. Tell us what the triggers are doing (and how), and...
August 9, 2004 at 11:33 pm
This is documented in BOL in the following topic:
http://msdn.microsoft.com/library/en-us/createdb/cm_8_des_08_22lq.asp
It also should be under the "compatibility" topic, but it isn't...
Razvan
August 9, 2004 at 10:41 am
It seems that you left out a "GROUP BY R.date, R.ref" in the query. Other than this, the query is not badly written. If it is too slow, consider adding...
August 9, 2004 at 10:33 am
If he has used a strong password, indeed it can't be done. In sysxlogins it is stored only a one-way hash of the password, therefore it is not possible to...
August 9, 2004 at 10:10 am
Bob, your code is the second real attempt to solve this problem. However, it has two problems:
1. The code uses cursors (which makes it big and slow)
2. You assume that there is exactly one...
August 6, 2004 at 2:35 am
The easiest way to use GETDATE() in a UDF is to create a view that calls GETDATE() and use the view in the function.
Razvan
August 4, 2004 at 11:26 pm
Phil, your code is "almost good". Try:
declare @date1 datetime set @date1 = '20050731' select dateadd(day,-day(@date1),dateadd(month,2,@date1))
You will get 2005-08-30 instead of 2005-08-31.
Using the same idea the code could be:
declare @date1 datetime set...
August 4, 2004 at 6:46 am
A user defined function cannot have side effects. Quote from BOL:
"The only changes that can be made by the statements in the function are changes to objects local to the...
August 3, 2004 at 4:09 am
Patrick,
You wrote "we have to ensure that the SQL command passed to the procedure is actually a SELECT statement". I hope that you realize that the statement could be something...
August 3, 2004 at 4:04 am
I don't have a complete solution for you, but I can tell you that I thought about something similar and I encountered another problem: MS Access is using more than...
August 3, 2004 at 3:41 am
Sorry to dissapoint you, but the question seems to me much harder than you think. It is possible that I misunderstood the question, but I think that even in this...
August 1, 2004 at 4:36 am
Viewing 15 posts - 76 through 90 (of 155 total)