Viewing 15 posts - 226 through 240 (of 343 total)
It almost sounds like there are triggers in addition to the routines you describe. Any chance of that?
Guarddata-
June 30, 2003 at 5:36 pm
The only thing I can imagine is to have the interface determine the combination in question and query for that specific number. I don't know if you have that...
June 30, 2003 at 5:21 pm
OK - in your example it appears that you know what column1 is...for the sake of this example, we will call it VARCHAR(50)
CREATE PROCEDURE myProc ( @tempTable VARCHAR(50) ) AS
...
June 27, 2003 at 2:59 pm
I suppose it depends on the maintenace scripts as well. If the index were to be used by a single script, the command could just be part of the...
June 27, 2003 at 12:49 pm
A real low-tech way would be similar to the method mentioned by stax68. Create a stored procedure to do the work. Set it as a job to run...
June 27, 2003 at 11:52 am
Yeah - good enhancement in SQL 7, no? To the best of my knowledge, the only way in 6.5 was to copy the data to a new structure without...
June 27, 2003 at 11:47 am
If the @result datatype is known, you can do something like:
SET @sql = N'SELECT @result = column1 from ' + @temptable,
@paramDef = N'@result INT OUTPUT'
exec sp_executesql @sql, @paramDef, @result...
June 27, 2003 at 11:45 am
We generally (sometimes under protest by all) go through the pain of writing specific statements for each option when:
a) Performance is the highest priority
b) There is a limited...
June 27, 2003 at 11:27 am
CSDunn,
Remember to check that the field you are updating has changed. Perhaps on the EXISTS clause add the criteria of DL.Updated <> SB.Updated
Guarddata
June 20, 2003 at 12:54 pm
Some observations:
1a) Rollback tran affects all active transactions. The commit is meaningless because the only transaction has just been rolled back.
1b) Code works with the save point because the...
June 20, 2003 at 12:44 pm
I don't know how much of the problem is solved in the enterprise version. We didn't have that option and finally resorted to using a middle tier to address...
June 11, 2003 at 4:16 pm
I would try changing the startup to be <domain>/SQLUSER. Make sure this connection has rights to the email feature. This would allow you to "log on" and perform...
June 11, 2003 at 9:20 am
Not to mention the fact that the view is reusable. The query has to be rewritten many times.
Also - for use by third party products (Crystal Reports, etc.) the...
June 11, 2003 at 9:12 am
It would be interesting to review the code of your trigger. You are probably already doing this but the code needs to be very specific in determining to make...
June 6, 2003 at 8:27 am
Outer joins have occasionally caught me off-guard. When the test data didn't have the same join condition as the full set, it was hard to catch the error in...
June 2, 2003 at 10:26 am
Viewing 15 posts - 226 through 240 (of 343 total)