Quantcast
Channel: SCN : Popular Discussions - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 1302

Proxy table and autoincrement and SELECT@@IDENTITY

$
0
0

Hi,

 

I'm a Powerbuilder developer and I use a ASA 16 with proxy tables in my current project. I guess my question is better ask here as in the Powerbuiler forum.

 

To get the value from an autoincremented ID inside Powerbuilder, I have to specify the Identity Column at 'Update Properties..." of the table (inside Powerbuilder). This works well with standard tables.

 

If I change the table to be a proxy table, I always get the value '0' for that incremented ID.

 

I guess it has something to do with the SELECT @@IDENTITY at the current db. Is there a switch / way to get the IDENTITY-value from the proxy table?

 

Roy


Viewing all articles
Browse latest Browse all 1302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>