The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Setting variable for query using iSql / Korn Shell
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Setting variable for query using iSql / Korn Shell
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
02-09-2009
quirkasaurus
Registered User
Join Date: Jan 2009
Location: canton, michigan
Posts: 396
1.) Multiple queries can be separated by semi-colons.
2.) Within the SHELL, you can use this:
Code:
isql << EOF SELECT some_stuff FROM table_some_thing WHERE some_field = "$some_input_variable" ; EOF
quirkasaurus
View Public Profile
Visit quirkasaurus's homepage!
Find all posts by quirkasaurus
Find quirkasaurus's past nominations received
Find quirkasaurus's present nominations given