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

Re: How I can generate a bcp ordered of a table with index non-clustered?

$
0
0

Try using --initstring

e.g.

bcp '#t1' out /tmp/t1.txt -Usa -P`cat .sa1` -Smysrv1 -c --initstring "select * into #t1 from master..spt_values where type='P' order by number desc"


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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