Php developers,Php Tutorials ,Web development, Web Developers, Php hosting, open-source,community
 
Serving the LAMP developers all over the word
LampDevelopers is a pure LAMP Developers community
Php developers,Php Tutorials ,Web development, Web Developers, Php hosting, open-source,community
LAMP Developers
   
   
   
   
   
   
Web Development
   
Developer / Programmer
   
Related Links
   
Member
   
Enter Keyword
Insert Some More Records into the Table

Add this record

mysql 4.1.16-nt-max> insert into

table01 (field01,field02,field03,field04,field05) values
-> (2, 'second', 'another', '1999-10-23', '10:30:00');

MySql tutorial,LAMP,MySql,Php mysql,Php programmers,Open source

Query OK, 1 row affected (0.00 sec)

Quotes must go around text values.

Standard date format is "yyyy-mm-dd".
Standard time format is "hh:mm:ss".
Quotes are required around the standard date and time formats, noted above.
Dates may also be entered as "yyyymmdd" and times as "hhmmss". If entered in this format, values don't need to be quoted.

Numeric values do not need to be quoted. This holds true regardless of the data type a column is formatted to contain (e.g. text, date, time, integer).

MySQL has a useful command buffer. The buffer stores the SQL statements you've entered thus far. Using it keeps you from having to retype the same commands over and over. Let's use this next step as an example.

Add another record using the command buffer (and optional date and time formats)

  1. Hit the up arrow key twice.
  2. Hit the ENTER key.
  3. Type in the new values between a pair parentheses and stick a closing semicolon on the end.
    (3, 'a third', 'more foo for you', 19991024,
  4. 103004);
  5. Hit the ENTER key.

Voilà!

Is it in there?

mysql 4.1.16-nt-max> select * from

table01;

field01 field02 field03 field04 field05

1

2

3

first

second

a third

 

NULL

another

more foo for you

 

NULL

1999-10-23

1999-10-24

NULL

10:30:00

10:30:01

It's in there!

Now, we're almost done...

News
this is the news
this is the news this is the news this is the news....
openWYSIWYG 1.01 bet....
small description
Links