|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, December 20, 2012 1:07 PM
Points: 15,
Visits: 166
|
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Friday, May 03, 2013 2:54 AM
Points: 328,
Visits: 1,848
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, August 12, 2010 9:23 AM
Points: 2,
Visits: 12
|
|
| Is there a particular reason you don't use the built-in logging?
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, December 20, 2012 1:07 PM
Points: 15,
Visits: 166
|
|
It gives u more customization on logging mechanism. Here I mentioned a simple example, u can use ur own ideas for a more complex logging.
Thanks for ur comments
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, December 11, 2012 12:43 PM
Points: 4,
Visits: 16
|
|
| Hi Arun, Following your steps exactly as provided doesn't work. The Expressions Editor Query produces a cannot be parsed error message.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, December 20, 2012 1:07 PM
Points: 15,
Visits: 166
|
|
Hi… I checked the Expression thoroughly and it is working perfectly. Please check the user variable, may be u didn’t created the user variable named @[User::PackageLogID]. If u have created the above variable perfectly, then please send me the detail of the error message that u got.
Thank u
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, December 11, 2012 12:43 PM
Points: 4,
Visits: 16
|
|
| Hello Arun, brilliant! you're 100% correct. I just had to get up to speed on creating user variables. Thanks much Arun! You helped me learn something today!
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Yesterday @ 5:33 PM
Points: 32,902,
Visits: 26,783
|
|
Just a quick question... I don't see where the column called "PrcocedureName" in the error log table is either described or used in the article. Is it just an unused, mispelled artifact?
Other than that, pretty cool article on simple error logging.
--Jeff Moden "RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".
First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following... http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following... http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, December 20, 2012 1:07 PM
Points: 15,
Visits: 166
|
|
The column named “[PrcocedureName]” can be used to detect the procedure that causes the particular error. But I didn’t implement it in the methodology; the user can implement it in case if they are using some procedures in the ETL process. The details about implementing the same will be posted in my next article.
Thank you
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Saturday, May 18, 2013 12:51 PM
Points: 2,
Visits: 207
|
|
| Is it possible to add Cointainer Name along with Package Name & Task Name. I think its little bit tircky
|
|
|
|