Viewing 15 posts - 14,431 through 14,445 (of 18,923 total)
I'm gonna say this one last time Sushila. I wanna freaking turn PRO and make a living a playing pool, so THAT'S MY LIFE.
August 12, 2005 at 12:26 pm
Bob, I know this can be done, but that can't really be error proof (good pick). I know you can do it on the server, but you basically combine...
August 12, 2005 at 12:26 pm
The whole asp call code with this version.
.Parameters.append.CreateParameter("@SRhospitalCanvass", adChar, adParamInput, 10, SRhospitalCavass)
Writting it isn't very long, but testing it is.
August 12, 2005 at 12:13 pm
run this in query analyser :
exec sp_helpindex 'procure_det'
check for primary key, clustered in the description
Also are you trying to update a table or something else?
August 12, 2005 at 12:12 pm
yup, simple search and replace which can't really fail in this case.
August 12, 2005 at 12:10 pm
You' need to rewrite the whole freaking thing... making sure you don't make any mistakes, this would take you days, hours if you're good. Mine is 100% tested, so...
August 12, 2005 at 12:09 pm
I would date more, but it would interfere with my work, pool and or social life so I refrain from it
.
August 12, 2005 at 12:06 pm
update procure_det set
vendor_no = 'GINALEVAN',
remit_to = '1',
buy_from = '1',
gtc_code = '1'
where vendor_no is NULL and source_code = 'A'
does this work?
And do you have a primary key.
August 12, 2005 at 12:02 pm
OK
final thaughts :
MyCn.Open 'just needs an opened connection before the next line
MyCmd.ActiveConnection = MyCn 'set the connection
MyCmd.Execute exec_sp_biginsert
MyCn.Close 'assuming you're done with it
ReturnValue = CInt(MyCmd.Parameters("@Return").Value) 'you'll need to declare...
August 12, 2005 at 12:00 pm
That's what we told you in a not too beautiful way. Good luck with that project.
August 12, 2005 at 11:52 am
Post the code you are using... you can update only from one table at the time, but you can update all the fields at once if needed.
August 12, 2005 at 11:47 am
That's the code for the asp side of it!!!!!!!!!!
Did you actually test it?
You can't use As Datatype in asp and you didn't correc this yet : Set MyParam = New...
August 12, 2005 at 11:45 am
I don't wanna seem over analytic here, but if your table comprise such rows :
"caty 1" --typo
" cAt 2" --space before
"cats 3" --actually correct
"cats and dogs" --WTH??
and that you...
August 12, 2005 at 11:42 am
I feel like saying : Can you provide less details?? But you couldn't.
What exactly is happening, where, how did you get there, what's the problem?
August 12, 2005 at 11:35 am
Here's a solution that doesn't need a trigger... but I'd test it against the trigger to see which one is faster :
Create an indexed view on that table :...
August 12, 2005 at 11:30 am
Viewing 15 posts - 14,431 through 14,445 (of 18,923 total)