this will return: "(1 row(s) affected)" But now I need to know, what data was actually inserted? SQL Server has answered this question in 2005 with the OUTPUT statement: This will return a dataset ...
I got it. The INSERT INTO was missing the draft status id field and also the name in the new table was still DRAFT_STATUS_ID but labeled Draft Status Id.
Listing 2. Excerpt from SQLConstants with the definition for an insert Customer statement. public final static String CUSTOMER_TABLE = “CUSTOMER”; public final static String CUSTOMER_NO = “CUSTOMERNO” ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results