Custom Search : Technical Guides Sybase Oracle UNIX Javascript

Technical Guides

Of Interest

Be responsible for your future
Enter the USA legally!

Visa, Green Card, Citizenship, Passport
Consultation Services

Sybase » UNIX » Commands »

Running SQL within a script


This script accepts a sybase command as a parameter, and executes it.

# File: sybexec
# Process Sybase command, output goes to std output
# Parameter: SQL command, in quotes
# Sample call: sybexec "sp_helpdb billing_db"

eval /apps/sybase/bin/isql -Sserver -I$intfile -Ujsmith -Pyankees << finis



Sybase : Related Topics

Sybase : UNIX : Starting the Sybase process
Sybase : UNIX : BCP data to/from a flat file
Sybase : UNIX : Shared memory setting
Sybase : UNIX : Interface Files, IP and Port Translation

Sybase Web Site
Sybase iAnywhere Mobile Web Site
Oracle Enterprise Web Site

Get the latest Rocket99 news and tech tips via

Site Index About this Guide to Sybase, Oracle, and UNIX Contact Us Advertise on this site

Copyright © 2019 Stoltenbar Inc All Rights Reserved.