can we retrieve DataBase informations from a property filerather than writing them in a iw_sql_open tagand i'm using the iw_sql_open and iw_sql_iterate tags to iterate the result set[html] user_name = "aaa" password = "bbbb" aux_env = "ORACLE_HOME => '/opt/u01/product/oracle/10g', ORACLE_SID => 'SID2'" >[/html]can some one help me to solve this issue
You could write part of, or the entire, PT in Perl - retrieve the information from the properties file using any number of modules that exist out there for doing such (e.g.: Config:roperties or Util:roperties, I'm sure there are others), and then either call the iw_sql_**** stuff - or call Perl DBI code directly.
cant we do it in Interwoven tags rather than using the Perl codeOr use the perl just only to load the property file details and use the interwoven tags to iterate through the result set ??
... and then either call the iw_sql_**** stuff - or call Perl DBI code directly.
thanks 4 ur reply so we can use perl and interwoven tags interchangingso can u give me an idea how to use the perl code to read the property file and use the iw_sql_open and iw_sql_iterate tags to iterate the result set???for example if i have use perl to create a db connection and we have the connection in a variable called $db_conn how to use it inside the interwowen tag iw_sql_iterate to go through the resultset??can anyone help me to solve this issue