Viewing 15 posts - 18,361 through 18,375 (of 18,926 total)
adInteger and adParamOutput... are meaningless in asp.
You must replace them with their equivalent int value.
Ex adParamInput = 1.
There's also a workaround where you must include a vb file but I...
March 21, 2005 at 8:11 am
You could also use this is the index is not the primary key :
Select * from dbo.SysIndexes where id = object_id('TableName') and name = 'IndexName'
March 21, 2005 at 6:42 am
They are accepted to be user friendly, but mostly because they have to be compatible with other Database systems that allow this.
Wouldn't it be even simpler to have a column...
March 18, 2005 at 9:58 am
I'm wondering if you could use a different desgin in this case. Would it be possible to move that info in another table like OpenHoursType or something like that...
March 18, 2005 at 9:42 am
Shouldn't the second exec read? :
ALTER DATABASE [?] SET READ_WRITE
March 18, 2005 at 9:33 am
oops.. I didn't see the if Update(complete). Do the rows that need to be modified change if that column is not updated?..
Anyways you get the idea. Msg me if...
March 18, 2005 at 7:08 am
create trigger tr_upd_payment_bal
on ExtendedPayment
for update as
if update(completed)
begin
update ExtendedPaymentsInfo
set ExtendedPaymentsInfo.PaymentBalance = ExtendedPaymentsInfo.PaymentBalance - deleted.paymentamount
, ExtendedPaymentsInfo.PaymentStatusID =
CASE WHEN CancelDate <= GETDATE() OR CONVERT(varchar(10), PaymentEndDate, 111) = CONVERT(varchar(10), getdate(), 111) THEN 3...
March 18, 2005 at 7:05 am
Hehe, you guys are sneaky .
March 18, 2005 at 6:18 am
it's pretty easy to do but it'd be better if you could post the rest of the trigger so we could put the code into its rightfull place instead of...
March 17, 2005 at 2:50 pm
Wow A guru suggesting a cursor... that must be a first. Is the cursor more effective in the case than the set solution? Is it faster because only 1...
March 16, 2005 at 1:37 pm
Well the first thing I would do is to tell the programmers to stop dropping the triggers for no reason and show them how to use those commands :
--disable...
March 16, 2005 at 11:39 am
Happened to me and at least 5 others that complained about something very similar... it's probabely the session that's ending on the server or something like this (haven't worked with...
March 16, 2005 at 9:33 am
What was the problem?
Please post so that others that find this thread can also fin a solution.
March 16, 2005 at 8:31 am
Viewing 15 posts - 18,361 through 18,375 (of 18,926 total)