top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to insert into a table with just one IDENTITY column?

+1 vote
How to insert into a table with just one IDENTITY column?
posted Jun 12, 2015 by Shivaranjini

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
answer Jun 12, 2015 by Manikandan J
Similar Questions
+1 vote

I have a simple mapping that reads data from a SQL Server table with a column of type 'money'. The column is mapped to another table with the column of type decimal 19,4. (Informatica converts type money to type decimal 19,4.) When running the workflow, no rows are inserted into the target table, and no meaningful errors are produced. However the data is inserted correctly when the money column mapping is deleted.

Looking at the session log, it appears Informatica believes the rows were inserted correctly.

How can I correctly map the money column to a SQL server table.

0 votes
if (filter_var($data[$i][1], FILTER_VALIDATE_EMAIL)){
echo $data[$i][1];
$conn = mysqli_connect($dbhost,$dbuser,$dbpass, $dbname);
if ($conn->connect_error) {
  die("Connection failed: " . $conn->connect_error);
$sql ="INSERT INTO promo_user (uid,name,email) VALUES (,'', '$email')";

I am using the above code but there is something wrong with it,whenever i run the code the echo is working fine but the content does go into sql table

Please help