Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 GOTO statement

Author  Topic 

sica
Posting Yak Master

143 Posts

Posted - 2002-02-28 : 00:46:44
Hi,

I've read somewhere that GOTO statement is not going to be implemented in the next SQL SERVER release YUKON,but I don't remember where.

Anyone has an idea about this or a link to read more about it?Maybe it was just a dream that I have.

Does everyone use this statement or is there an alternative choice , specially when it comes how to deal with error ?

I would appreciate all ideas an thought!

Best regards,
Sica


AjarnMark
SQL Slashing Gunting Master

3246 Posts

Posted - 2002-02-28 : 01:05:49
I'm curious to see what sorts of error-handling will be implemented in Yukon, especially with all the new languages that will apparently be supported.

Regardless, I avoid GOTO statements (in any language) like the plague. I prefer to have one entry point / one exit point and so instead I set a "continue" variable while I'm processing and check it along the way.

------------------------
GENERAL-ly speaking...
Go to Top of Page

sica
Posting Yak Master

143 Posts

Posted - 2002-03-01 : 06:15:29
Thanks Mark for your input!!!

Anyone has more ideas about it ?

//Sica

Go to Top of Page
   

- Advertisement -