Viewing 15 posts - 16 through 30 (of 66 total)
The couple of replies focused on using an IDENTITY field, which i can't do since the counter value is different per Org/Type. So is the solution I present above...
March 5, 2009 at 3:27 pm
I do not have a trigger that updates the counter. I can add one if I decide that it's definitely the best option. I generally only use triggers...
March 5, 2009 at 2:07 pm
Sorry Bruce, for clarification, the tables in my 2 statements are actually the same table. I updated my original post.
March 5, 2009 at 2:02 pm
I got it to work using:
SET @strExec = N'exec @ValueOUT=@CustomFunctionName @InPtHt, @InHtUnits'
SET @params = N'@CustomFunctionName nvarchar(200),@InPtHt dec(9,3),@InHtUnits varchar(10), @ValueOUT dec(9,3) OUTPUT'
EXEC sp_executesql @strExec,
@params,...
March 7, 2008 at 8:26 am
All great suggestions, thanks. I ended up using Windiff and it worked fine.
December 3, 2007 at 10:29 am
Agreed. Unfortunately I am unable to make changes to the db design, and the whole app/db is slated to be re-written in 08 so the problems will be going...
November 14, 2007 at 2:45 pm
Hosp_id is a varchar(20) and typically has 4 char values in it (ie '0528'). Ugh, i know.
Maybe it's not going to get much better than 15 minutes, or at...
November 14, 2007 at 11:54 am
Possibly, but the table has 17 million records. Might the dropping and recreating of indexes and constraints take long enough to defeat the purpose of trying to speed up a...
November 14, 2007 at 11:05 am
Which table do you mean when you "inserted table"? The table I'm inserting into, or inserting from?
The tables i'm inserting into and from are identical in schema. Both...
November 14, 2007 at 10:46 am
I don't see implicit transaction in the properties, how do I check it?
November 8, 2007 at 1:15 pm
Viewing 15 posts - 16 through 30 (of 66 total)