Answers for "insert to sql"

SQL
3

insert sql

-- sql insert using string format 

        -- you dont need to do this unless you want to specify what
                  --    columns you want to insert
                                 ⬇️
String = "INSERT INTO Marcas (yourcolumn) VALUES(if your value is string use 'your string' and if is a number you dont use the '')";

-- exemple:     
                                                -- because my idcostumer just allows numbers   and that is a text one and i use the ''                                    
                                                         --    and i dont use the ''
                                                                          ⬇️                             ⬇️  
ssql = "INSERT INTO Costumer (idcostumer, costumername) VALUES("textboxidcostumer.Text + ", '" + textboxname.Text + "')";
Posted by: Guest on May-04-2021
1

sql insert data

INSERT INTO users (first_name, last_name, address, email)
VALUES (‘Tester’, ‘Jester’, ‘123 Fake Street, Sheffield, United
Kingdom’, ‘[email protected]’);
Posted by: Guest on January-07-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language