cancel
Showing results for 
Search instead for 
Did you mean: 

structure of jdbc

Former Member
0 Kudos

Hello,

I need to insert from a file to a JDBC table. The database table has lots of values ,but i need to insert just a few of them. While i create a structure of the table in the data types, do i need to create the whole database table structure or only the structure of values to be inserted?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

It depends, what you want to fill in the other values.

If you want to fill NULL, then you need not provide the fields in structure.

If you want to provide initial values like 0 for integers, you have to add the fields to structure.

Former Member
0 Kudos

The other values ,will be provided in table directly by the DB team and not from SAP / PI .

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi,

so, no matter. you can send the some values to DB from SAP PI

stefan_grube
Active Contributor
0 Kudos

> The other values ,will be provided in table directly by the DB team and not from SAP / PI .

I think your question is answered.

Answers (1)

Answers (1)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

just insert the values you need, but make sure that you define de key values in the structure. consider taht the structure you define in PI later is translated into a SQL statement. so no problem to insert, update some values of a table and not the wholes fields