Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
Hallo!
Ich habe ein Stored Procedure mit 3 Paramtern, die an die SP übergebe. Die Ergebnismenge der SP möchte ich per SQL-Script in eine CSV-Datei exportieren.
Doch wie?
COPY { table_name [ ( column_name [, ...] ) ] | ( query ) }
TO { 'filename' | PROGRAM 'command' | STDOUT }
[ [ WITH ] ( option [, ...] ) ]
-- MyProcedure erwartet drei Parameter
-- Ich habe nun gemacht:
DECLARE @sqlstring varchar(1000)
set @sqlstring = 'bcp ' + '"dbo.MyProcedure' + '''MAS02'''+','+''''''+ '''de-DE''' + 'queryout
Wo ist was verkehrt