Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 讨论

Can f90SQL-Lite library be applied to insert data into a database?

tom_c_lin
初学者
500 次查看

Hi all, We are currently using f90SQL-Lite library to read data fromSQL database. Now we would like to apply it to insert data into a database. It seems to me that functions such as f90SQLPutData, f90SQLBulkOperations.. are not available in the Lite version. Can f90SQL-Lite be applied to insert data? If yes, what function or subroutine should be used? Canany of you kind enough to share your experience. Thanks.

Tom Lin

0 项奖励
2 回复数
Nick2
新分销商 I
500 次查看
The pro version has a function f90SQLExecDirect, the free version has a similar equivalent function. What you want to do is compose an SQL statement such as 'INSERT INTO TABLE whatever .........' and call the function after doing f90SQLAllocHandle. Steve posted an example that does exactly this. Good luck!
0 项奖励
tom_c_lin
初学者
500 次查看

Thanks for the e-mail which has confirmed what I was thinking. I have got my 'INSERT' subroutines working now. Have a super day.

Tom Lin

0 项奖励
回复