Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: Sybase 16 and @table vars

$
0
0

I don't see ValidTo in the table definition.   However, you might want to read the section in the Ref Manual Building Blocks on Table Variables.   I remember reading that constraints are not allowed (except null)....and I am pretty sure indexes are not as well.   If the @table_var is going to contain so much data that you would want an index, you should use a #temp table.    @table_vars come out of proc cache - and if there is not enough proc cache, they will spill to disk anyhow....with #temps for large working sets, you get the advantage of lazy IOs in tempdb.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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