Home Forums SQL Server 2008 T-SQL (SS2K8) BCP Error : Microsoft][SQL Native Client][SQL Server]Could not find stored procedure 'dbo.EXTGEN_InitSessionContextSp'. RE: BCP Error : Microsoft][SQL Native Client][SQL Server]Could not find stored procedure 'dbo.EXTGEN_InitSessionContextSp'.

  • Try this bcp command. I moved the name of the database to the -d switch:

    bcp "exec dbo.Rpt_JobTransactionsSp 'SRMQDIC','ROD','B','HNS','0','B',

    null,null,null,null,'000','9999','1/1/2013','3/17/2013',null,null,null,null,null

    ,null,null,null,'T',null,null,'1','0','1033'" Queryout "c:\temp\query.txt" -T -d PHIL_App

    -c -t^| -Sphlsqlsl01