Viewing 15 posts - 46 through 60 (of 582 total)
@TableJob table([StartDateTime] [smalldatetime] NOT NULL ,
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 15, 2006 at 9:38 am
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 15, 2006 at 4:28 am
What data type are the time columns?
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 2:51 pm
SELECT fi.FilePath, MAX(pmd.Path)...
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 12:13 pm
>If indexes are changed, then the app might have data integrity errors
Not having a usable index will just result in table locks rather than key range locks. It won't...
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 11:06 am
As you say, there's no great adavatage to using a function for much of this stuff as it won't be used in a SQL statement. In other cases, there...
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 10:31 am
One last shot in the dark - if you can amend the sp, try putting the select before the inserts...
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 10:10 am
That's a return value, which is placed directly into a variable in the execute statement if one is specified. It's not output to the client automatically.
Actually, ODBC will take...
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 9:30 am
Does the sp return any warnings or rowcounts when you run it in QA?
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 8:50 am
Can you guess what it should be?
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 8:47 am
I'm not sure of the cause of the problem, but try this:
You might...
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 8:16 am
This will get the data for all nonempty permutations of two products.
You may then want to generate a dynamic crosstab from the data.
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 8:02 am
Tim Wilkinson "If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 7:31 am
Clarification: UNION will eliminate duplicates in the output recordset, not just within the individual selects.
e.g.:
1
Tim Wilkinson "If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 6:43 am
I think locking is the only way to do exactly what you describe for all SQL statements. But the temp table solution might be better. If you do need to go down this...
Tim Wilkinson
"If it doesn't work in practice, you're using the wrong theory"
- Immanuel Kant
July 14, 2006 at 6:03 am
Viewing 15 posts - 46 through 60 (of 582 total)