Dynamic SQl in KSH

My requirement is to create a KSH to generate the SQL select statement in oracle with all the columns and optional where condition if given the table name as input to the program

Have any of you worked with a similar requirement? Can you give me some inputs?

Regards,
Kousikan

There are dozens of examples of using ksh and sql on our site. Here is one:

Use our search function to find more if you want.

It is very useful. Thanks a lot.

Regards,
Kousikan