Re: C# SQL Select using where as variable
Posted by: Ajay Baldeo
Date: December 19, 2012 05:49PM

Fernando I was able to find the error.

As coding goes it's always the small things that are hard to find. My issue was here:
string var_commandText = @"Select weight " +
"From inv" +
"Where item_num = @inumber";

***** A Space is needed after table name or before the where clause.

You definately help me find this error with confirming the rest of the code being valid and for that I thank you! Happy Holidays.

Options: ReplyQuote


Subject
Written By
Posted
Re: C# SQL Select using where as variable
December 19, 2012 05:49PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.