Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to resolve the -305 error code in DB2?
And also please let me know, how to resolve the db2 error
codes.

Answer Posted / logaa

if the table column is defined as NOT NULL (with no
default) and if we try to insert a null value we get that
we get a different SQLCODE -407

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.

2722


Highlight all the advantages that are attached to a package.

1169


Are views updateable?

1230


How would the varchar column remarks defined?

1127


What is the physical storage length of the data types date, time, and timestamp?

1136


What is difference between isnull and coalesce?

1104


Explain the benefits you can get from mainframe connect?

1015


What are foreign keys in db2?

1168


Why do chiropractors use drop table?

1160


What is lock escalation in db2?

1078


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

1219


What is ibm db2 used for?

1127


What happens in bind step in a db2 program?

1009


What is multi row fetch in db2?

1100


what are bind concepts in db2 cobol?

1137