Viewing 15 posts - 181 through 195 (of 321 total)
if you put left you will get all rows even if they don't have rows in FOO
July 21, 2005 at 7:43 am
autonomous transaction pragma
I think is equivalent to transaction in TSQL
so you will need
BEGIN TRANSACTION
your code
IF @@ error=0
COMMIT TRANSACTION
ELSE
ROLLBACK TRANSACTIOn
July 21, 2005 at 7:42 am
If FOO has ROWS all the time and you fill fiedls values for responses
BEGIN
SET NOCOUNT ON
DECLARE @sql varchar(600)
SET @sql =
'Select distinct
Events.num1,
Events.num2,
Events.num3
From Events
Inner Join EventMembers On EventMembers.num1...
July 21, 2005 at 7:27 am
Remy? : )
quoted
Yes and no...
How can the converts be accountable for 97% of the work in the query (from 30 secs to 1)? I'm wondering if...
July 8, 2005 at 11:14 am
Couldn't find one ...
But usually DETERMINISTIC ones will cache the result and the result will be used when have the same param
I couldn't find an article to describe exactly...
July 8, 2005 at 11:06 am
A NON DETERMINISTIC function yes 40 million times but a DETERMINISTIC function NO
I saw in the first post "I have a view" so definitly was DETERMINISTIC functions so ...
I ll...
July 8, 2005 at 11:01 am
CONVERT | Deterministic unless used with datetime, smalldatetime, or sql_variant. The datetime and smalldatetime data types are deterministic if the style parameter... |
July 8, 2005 at 9:28 am
You sure you want this behaviour ?
dbo.table_repcodem
LEFT OUTER JOIN dbo.table_repcodes table_repcodes_8 ON dbo.table_repcodem.rcode4 = table_repcodes_8.rcode
LEFT OUTER JOIN dbo.table_repcodes table_repcodes_7 ON dbo.table_repcodem.rcode3 = table_repcodes_7.rcode
LEFT OUTER...
July 8, 2005 at 7:32 am
WHERE (a.type IN (1,10) AND e.status IN (3,4)) or (a.type NOT IN (1,10) AND e.status = 5 )
or
CASE
WHEN a.type IN (1,10)
THEN
CASE WHEN e.status IN (3,4) THEN 1
ELSE 0
END
ELSE...
June 29, 2005 at 9:17 am
AND A.LINE_DESCR LIKE ''%''
-this condition in making the querry to run REALLY SLOW . Better take it out : )
Because the condition starts with "%SomeTextOrNot" the querry optimizer will do...
June 29, 2005 at 7:27 am
Actually it seems that you agree with me (or my english was poor )
They produce different result times based on the distribution of the Initial Set of Numbers ...
June 27, 2005 at 9:48 am
breadth-first or deph-first they have the same cost. They produce different result times based on the distribution of the Initial Set of Numbers which you can't control
June 27, 2005 at 9:14 am
There is a RULE: an iterative version is ALWAYS faster than the RECURSIVE version. (off course if it is well written : )
So based on your Observation (good one :...
June 27, 2005 at 9:09 am
This line just initialize the Array to have 1 elem inside at index 0
June 24, 2005 at 2:50 pm
The code is messy : ) so it needs clean up : )
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth ...
June 24, 2005 at 2:47 pm
Viewing 15 posts - 181 through 195 (of 321 total)