top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How Fast Load script of TeraData is faster then insert script of SQl

+1 vote
284 views
How Fast Load script of TeraData is faster then insert script of SQl
posted Mar 4, 2014 by Prachi Agarwal

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+2 votes

How I 'll check how many rows inserted into every second on an average in a table of MySQL database?

+3 votes

A heap is constructed with n elements. Another n elements is inserted . What is the time complexity to insert n elements, please explain step by steps?

0 votes
for($i=0;$i<=feof($getdata);$i++)
{
if (filter_var($data[$i][1], FILTER_VALIDATE_EMAIL)){
echo $data[$i][1];
$email=$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')";
mysqli_query($sql,$conn);
mysqli_close($conn);

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

...