Viewing 15 posts - 136 through 150 (of 151 total)
Hi,
You have to use TRY...CATCH construct in order to handle the errors. You have rightly set XACT_ABORT ON before begining the transaction. This way you can make sure that if...
October 26, 2011 at 3:54 am
Please replace all the instances of contact value from the log you have sent with 'xxxxxx' ASAP. I can see one instance where original contact value is visible.
October 26, 2011 at 1:17 am
For the community to help JayK more easily, below are the queries extracted from the log
Dynamic SQL
SELECT TOP 50
c.customercode
FROM ...
October 26, 2011 at 1:15 am
Hi JayK,
What I can see from it, table customer_contact is definitely used in your dynamic query
left join customer_contact cc on c.CustomerCode = cc.CustomerCode
AND
and cc.Contactvalue like @xmobilenumber...
October 26, 2011 at 1:09 am
Can you please send the output (appended with any error if occurs) of this script
BEGIN TRY
IF OBJECT_ID('tempdb..#Output') IS NOT NULL
DROP TABLE #Output
CREATE TABLE #Output
(
Counter INT IDENTITY(1, 1)
,DirOutput...
October 25, 2011 at 4:20 am
Shiv,
You have not appended the output of xp_cmdshell commands. There would have been some output if ran successfully. So please send the output (or any error) for below scripted lines
/*==FOR...
October 21, 2011 at 6:22 am
Sorry to say, but you have not answered about the permissions. Can you please check that one as well. Can you please run the following script and send the output....
October 20, 2011 at 12:00 am
Shiv,
Once again I would ask have you checked the required permissions? Does the specified folder already exists there? Are you looking at the same server where your SQL Server resides?...
October 19, 2011 at 8:33 am
Please also make sure that you are looking at the correct server's directory. I had same kind of a problem once, when I was trying to look into the folders...
October 19, 2011 at 8:13 am
What windows error you are getting?
You can also use UNC to a share (Everyone must have write permissions on it) e.g. (N'\\Servername\Sharename\Directory\trace.trc'). This would make sure that the SQL service...
October 19, 2011 at 7:52 am
Have you checked the permissions are as it is desired?
October 19, 2011 at 7:44 am
@Gail Shaw
Please if you have time, do add your thoughts on "TRACE_PRODUCE_BLACKBOX" option in sp_trace_create procedure, in order to write in the default directory. At least this will make sure...
October 19, 2011 at 7:35 am
The way you are helping Shiv is more than appreciated. You must have a very cool mind. I believe if Shiv is working on the trace output(a sort...
October 19, 2011 at 7:31 am
@Mark-101232
Wow. That was something new for me to learn. Although it is obsolete ( not able to use such collation at server level), but still can be used at lower...
October 18, 2011 at 6:18 am
Hi,
Although I am a big fan of tally table and keen follower of Mr. Jeff Moden, I am not sure why we need a tally table here. It is just...
October 14, 2011 at 4:51 am
Viewing 15 posts - 136 through 150 (of 151 total)