 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
tdryan
Joined: 05 May 2010 Posts: 11 Country: United States |
|
BEGIN TRY Code Snippet |
|
Hello:
SQL Assistant 'BEGIN TRY...' Code Snippet is incomplete in v5 (don't recall using it in v4). The BEGIN TRY needs to have a matching END TRY; however, it currently ends with END (without the TRY). I know I can modify the snippet; however, I thought you may want to know this for future SQL Assistant versions/updates. Thanks...
|
|
Wed May 05, 2010 7:31 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Thanks. I think this came from your previous config file imported into v5.
The standard snippet in 4.8 and 5.0 is like this
 |
 |
BEGIN TRY
|
END TRY
BEGIN CATCH
/*
SELECT
ERROR_NUMBER() AS ErrorNumber,
ERROR_SEVERITY() AS ErrorSeverity,
ERROR_STATE() AS ErrorState,
ERROR_PROCEDURE() AS ErrorProcedure,
ERROR_LINE() AS ErrorLine,
ERROR_MESSAGE() AS ErrorMessage
*/
END CATCH |
|
|
Wed May 05, 2010 8:46 am |
|
 |
tdryan
Joined: 05 May 2010 Posts: 11 Country: United States |
|
|
|
Nice catch, thanks. So, my question is... How do I import v5 config/snippet information? Well, I guess I can figure out the 'How,' but where do I get it from? thanks...
|
|
Tue May 11, 2010 3:09 pm |
|
 |
tdryan
Joined: 05 May 2010 Posts: 11 Country: United States |
|
|
|
Anyone? Ref. importing v5 config settings... thanks...
|
|
Wed Jun 02, 2010 9:13 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|