You are not logged in or registered. Please login or register to use the full functionality of this SYBASETEAM.COM Website...
Current time: 03-11-2010, 10:35 AM Hello There, Guest! (LoginRegister)
Tags: problem, read, statement,
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with read statement
02-04-2010, 12:01 AM
Post: #7
RE: problem with read statement
Can't this be done with a shell script instead of reading sql files from isql prompt?
I mean pool all the sql statements into a file and execute this consolidated sql file using isql command.That should serve our purpose for the time being.we can dig into this later.

Kishor,
TechSupport-SeniorMember(SybaseTeam.Com)
Find all posts by this user
Quote this message in a reply

02-04-2010, 09:58 AM
Post: #8
RE: problem with read statement
Hi,

I have never seen the requirement of running one sql file from other sql file. We generally wrap up sql file in shell or perl script.
As Kishor suggested , combines all the statement in one file and run using -i option with isql.(-o for outfut fille)

Also try -e option, if you want to debug your sql file. Hope it help you!

Thanks.

Regards,
AnVa http://sybaseblog.com
TechSupport-SeniorMember(SybaseTeam.Com)
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  sybase case , sybase case statement john 0 48 07-07-2009 03:24 AM
Last Post: john

Forum Jump: