Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> problem z usuwaniem tabel, lame:)
suze_e
post 28.11.2005, 15:20:37
Post #1





Grupa: Zarejestrowani
Postów: 12
Pomógł: 0
Dołączył: 28.11.2005
Skąd: Warszawa

Ostrzeżenie: (0%)
-----


Dzien dobry,
Mam problem z usuwaniem tabel w postgresie.
mam tabele pracownicy i wpisuje drop table pracownicy
i ona wyswietla sie nadal:/ Poza tym jak usuwam tabele to chyba pownien pojawic sie komunikat, ze jest juz usunieta tak?
Moze zle cos wpisuje?

Mam jeszcze pytanie jakim poleceniem moge wyswietlic tabele? Chodzi mi o to zeby wyswietlaly sie wszystkie info dotyczace typow danych w niej, kluczy itp.

Przepraszam jesli zadaje pytania banalne ale wlasnie robie moja pierwsza baze i kompletnie sie nie znam:)

Pozdrawiam


--------------------
SUZE_e
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
dr_bonzo
post 30.11.2005, 17:32:06
Post #2





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


Cytat
CREATE USER name;

name follows the rules for SQL identifiers: either unadorned without special characters, or double-quoted. To remove an existing user, use the analogous DROP USER command:

DROP USER name;

For convenience, the programs createuser and dropuser are provided as wrappers around these SQL commands that can be called from the shell command line:

createuser name
dropuser name

To determine the set of existing users, examine the pg_user system catalog, for example

SELECT usename FROM pg_user;

Z manuala lub z instalki psql'a.


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 18:35