|
-
Getting returning values from SQL sentences in VB
Hi,
I'm developing a simple DataBase application which only function is to display
data, and depending on user interaction it [the application] has to insert
some values in a Table, And I need the Identity of those records.
In SQL I simply add this "return @@identity" to the SQL insertion code. The
point is that due to some requirements on DB this Sql sentences can't be
store-procedures (yes, all sql sentences are on the VB app it self). And,
so far, all solutions I've found on the net, to get that value, works for
stored-procedures.
What do I do?
Thanks a lot,
Nando
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks