Viewing 15 posts - 13,111 through 13,125 (of 18,923 total)
Basically the trigger action has to complete before the asp finishes because those actions are part of the transaction. If you need to delay that, you can flag a...
September 19, 2005 at 11:57 pm
never seen that happen...
How are they changed??
do you kow you can see the generated script and manually change it?
September 19, 2005 at 3:17 pm
Check out the import data wizard... really simple.
What do you mean by not matching??
September 19, 2005 at 3:08 pm
Let's start over, send me :
- tables dll
- sample data (insert statements)
- sample results
- current results.
September 19, 2005 at 3:02 pm
HTH, make sure that the numbers table is high enough. I'm assuming here that the qty of products sold on a single order may go higher than 8000.
September 19, 2005 at 3:01 pm
SET @Param1 = ISNULL(@Param1, '') + '%'
SET @Param2 = ISNULL(@Param2, '') + '%'
SET @Param3 = ISNULL(@Param3, '') + '%'
if LEN(@Param1 + @Param2 + @Param3) > 3
begin
Select cols, list from dbo.YourQuery...
September 19, 2005 at 2:59 pm
Not where it should be (or still missing some).
Also please forget the dev and split this into 3 sps. If he still insists, you can always all the sps...
September 19, 2005 at 2:47 pm
Don't do that in dynamic sql, you'll be totally be missing the point of sps.
update tablename set colname = @Value where key = @key
Also read this :
September 19, 2005 at 2:46 pm
As requested per PM :
Not really in this case. I'd go with 3 queries in this case. Maybe I'd have a master sp call the correct sp...
September 19, 2005 at 2:30 pm
Ok course... their code works, they can't imagine that it can be slow and working at the same time
.
September 19, 2005 at 2:12 pm
Sorry I completly forgot to include the script for the numbers table.
IF Object_id('Numbers') > 0
DROP TABLE dbo.Numbers
GO
CREATE TABLE dbo.Numbers (PkNumber int identity(1,1) primary key clustered, dude bit null)
GO
INSERT INTO dbo.Numbers...
September 19, 2005 at 1:34 pm
You might find this article usefull for such questions :
September 19, 2005 at 1:30 pm
Here's how I'd do it. The only missing part is the insert to input the data into a new table.
Declare @demo table (OrderId int not null, ProductID int...
September 19, 2005 at 1:27 pm
I don't think they even invented a datatype to hold such a number
.
September 19, 2005 at 1:22 pm
What did you put in for the group by?
September 19, 2005 at 1:14 pm
Viewing 15 posts - 13,111 through 13,125 (of 18,923 total)