New answers tagged sql-server-2005
0 votes
Does bcp out maintain row order while exporting into a data file?
bcp utility ORDER (column [ASC | DESC] [, ...n]) The sort order of the data in the data file. Bulk import performance is improved if the data being imported is sorted according to the clustered index ...
0 votes
Call a Stored procedure in SQL CTE
No there isn’t a way to run exec directly in the cte while it’s mostly a select statement alternative but you can use a temptable to get the output and use it in cte CREATE TABLE #t (...); INSERT ...
Top 50 recent answers are included
Related Tags
sql-server-2005 × 18325sql-server × 8072
sql × 8009
t-sql × 3410
sql-server-2008 × 2011
c# × 1229
stored-procedures × 788
asp.net × 689
database × 554
ssis × 398
.net × 397
xml × 338
reporting-services × 277
performance × 259
vb.net × 227
datetime × 215
sql-server-2008-r2 × 214
triggers × 197
sql-server-2012 × 191
pivot × 176
sql-server-2000 × 171
ssms × 159
join × 151
java × 145
select × 138