Viewing 15 posts - 61 through 75 (of 82 total)
Here is the command and output.
FYI: 'dbo.EXTGEN_InitSessionContextSp' is getting called from Rpt_JobTransactionsSp
bcp "exec PHIL_App..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
-c -t^| -Sphlsqlsl01
SQLState = 37000, NativeError = 2812
Error = [Microsoft][SQL...
March 21, 2013 at 10:47 am
Yes In the code i am appending the Servername but i get same result with or without the ServerName.
March 21, 2013 at 5:35 am
I am running the code from the SQL Server Management Studio.
Do i need to specify the Server name , user name and password ?
March 21, 2013 at 5:33 am
SELECT top 10 * FROM OPENDATASOURCE( 'SQLOLEDB', 'Data Source=Server1;User ID=user1;Password=password').orders.dbo.folder
this statement returned error
OLE DB provider "SQLNCLI" for linked server "(null)" returned message "Login timeout expired".
OLE DB provider "SQLNCLI" for linked...
November 13, 2012 at 9:41 am
exec('exec OPENDATASOURCE(''sqloledb'',''Data Source=sqlsrv1; User ID=user1;Password=Pwd1'').Orders.dbo.testreport''' + @parameter1 + ''','+@parameter2+'' )
Above statement gives me error
Incorrect syntax near ','.
November 13, 2012 at 9:00 am
Actually i want to read from a text file . \\server1\temp\EmailBody.txt into a variable
October 19, 2012 at 7:24 am
Thanks for the reply.
Another Quick Question. My Email body is very long.
Ideally i would like to store the Body in a text file and read the text file into a...
October 19, 2012 at 6:58 am
Thanks for the reply.
Another Quick Question. My Email body is very long.
Ideally i would like to store the Body in a text file and read the text file into a...
October 19, 2012 at 6:54 am
Thanks for the reply.
Another Quick Question. My Email body is very long.
Ideally i would like to store the Body in a text file and read the text file into a...
October 19, 2012 at 6:53 am
Thanks for the reply.
Another Quick Question. My Email body is very long.
Ideally i would like to store the Body in a text file and read the text file into a...
October 19, 2012 at 6:52 am
Thanks for the reply.
Another Quick Question. My Email body is very long.
Ideally i would like to store the Body in a text file and read the text file into a...
October 19, 2012 at 6:52 am
Yes it there are applications running which access these tables.
September 6, 2011 at 4:53 am
Here is the information from using the DBCC SHOWCONTIG command
DBCC SHOWCONTIG scanning 'job' table...
Table: 'job' (2142630676); index ID: 1, database ID: 64
TABLE level scan performed.
- Pages Scanned................................: 7391
- Extents Scanned..............................:...
September 6, 2011 at 4:19 am
This works great
.
select stuff((
select ' ' + ReportNotesView.note as [text()]
from ReportNotesView WHERE RefRowPointer = '06F7539D-44B3-4438-BE89-6FB1F45B569E'
for xml path(''), type
).value('.','NTEXT'),...
September 2, 2011 at 1:41 pm
Is the outer proc Rpt_AccountsReceivableAgingSp the one returning the resultset? Or is it one of the called procs that is actually returning the resultset?
The Procedure Rpt_AccountsReceivableAgingSp is where the result...
March 8, 2011 at 12:47 pm
Viewing 15 posts - 61 through 75 (of 82 total)