Selectarea unei baze de date

postat acum 4 ani de Stefanescu Mihai in categorie SQL

Atunci cand avem mai multe baze de date trebuie sa selctam una dintre acestea inainte de a incepe sa efectuam diferite operatii pe ea.

Pentru a face acest lucru folosim comanda USE.

USE bdTest;

Daca nu stii numele exact al bazei de date pe care doresti sa o folosesti poti folosi comanda SHOW pentru a afisa toate bazele de date disponibile:

SQL> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| ShopFirst          |
| Invata-Programare  |
| forumPluginDev     |
| WordPressDev       |
| bdTest             |
+--------------------+

 

Sunt un tanar programator din Bucuresti ce lucreaza in PHP/Mysql (MySqli/PDO), Laravel, CodeIgniter, MySQL, PostgreSQL, Wordpress, HTML5/CSS3, Sass, Photoshop si multe altele.
Google+ Community Facebook Group
Acest articol a fost mutat de pe vechea platforma.
Pentru orice eroare aparuta la mutare va rog sa ma contactati!

Comentariu postate de minecraft download mojang la data de 15.05.2019
Good day I am so happy I found your web site, I really found you by error, while I was browsing on Askjeeve for something else, Anyways I am here now and would just like to say thanks for a incredible post and a all round thrilling blog (I also love the theme/design), I don't have time to read it all at the moment but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read more, Please do keep up the awesome work.
Comentariu postate de free minecraft download la data de 17.05.2019
It's awesome for me to have a site, which is good for my knowledge. thanks admin
Comentariu postate de download minecraft for free la data de 17.05.2019
I was suggested this blog by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my problem. You are amazing! Thanks!