So I've been executing this in a C# form:
SqlConnection sqlConnection1 = common.DBConnect();
SqlCommand cmd = new SqlCommand();
Int32 rowsAffected;
cmd.CommandText = "Select * into #temp1 from web.web_entry";
cmd.CommandType = CommandType.Text;
cmd.Connection = sqlConnection1;
sqlConnection1.Open();
rowsAffected = cmd.ExecuteNonQuery();
sqlConnection1.Close();
The problem is this command was executed no errors or whatsoever, but when I tried to select from this temporary table in SQL server, this table isn't existing.