Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

All examples of SQL syntax published by Sybase use “go” as the command batch terminator. Can I use a different terminator?

0
Posted

All examples of SQL syntax published by Sybase use “go” as the command batch terminator. Can I use a different terminator?

0

Yes. The command option -c string on UNIX, Windows NT, Windows 95, DOS, or OS/2 platforms and qualifier /TERMINATOR=string on OpenVMS specifies the string to be used by isql instead of “go”. For example, to use a period (“.”) as the command terminator, invoke isql on UNIX or PC platforms as follows: isql -c. A sample isql session with this command terminator looks like this: 1> select name from sysusers 2> . name ———– sandy kim leslie (3 rows affected) See the Adaptive Server Enterprise Utility Programs manual for your platform for a description of the -c option of isql. Keep the following points in mind when dealing with the isql command terminator: • Sybase-supplied scripts and stored procedures always use “go.” • If your own scripts use “go” or another command terminator, you must edit your scripts accordingly. • Make sure that the selected command terminator does not allow “partial commands.” For example, if you make a carriage return the command terminator, you could accide

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123