Logo SQLinForm

 

No Linebreak for small SQL

No Linebreak for small SQL
March 30, 2009 05:53PM
No Linebreak for small SQL < 10 chars

IF credit >= debit THEN
        UPDATE customeraccount
        SET    balance    = balance - debit_amount
        WHERE  account_id = 100400;

ELSE
        UPDATE customeraccount
        SET    balance    = balance + debit_amount
        WHERE  account_id = 100400;
END;

No Linebreak for small SQL < 100 chars
IF credit >= debit THEN
        UPDATE customeraccount SET balance = balance - debit_amount WHERE account_id = 100400;

ELSE
        UPDATE customeraccount SET balance = balance + debit_amount WHERE account_id = 100400;

END;



Edited 2 time(s). Last edit at 03/31/2009 10:11AM by guidomarcel.
sheery
Re: No Linebreak for small SQL
January 04, 2011 08:55AM
Thats great.
Author:

Your Email (Optional):


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 13 plus 17?
Message: