I believe it is next to impossible to answer you since it is incomprehensible what you are writing
p1024:I created an SQL database and i wanted to submit information fon an infopath form that i created to that database
Created "SQL database" with which tables? where and how (What do you mean under "SQL database"? Which DBMS?)?
Submit from where to where what and how (this is usually is defined in data connection wizard to a database)?