» »

Nova spremenljivka v PHP tabeli

Nova spremenljivka v PHP tabeli

poweroff ::

Kako v obstoječo PHP tabelo vstaviti novo spremenljivko...

Recimo da ze imam:

CREATE TABLE wt_moving (
sessid varchar(32) default NULL,
location varchar(150) default NULL,
accessdatetime datetime default NULL
) TYPE=MyISAM;


Rad bi pa imel se eno spremenljivko z imenom outmove varchar(150) default NULL. Kako jo vstavim?

rc-car ::

Z ALTER TABLE

ALTER TABLE allows you to change the structure of an existing table. For example, you can add or delete columns, create or destroy indexes, change the type of existing columns, or rename columns or the table itself. You can also change the comment for the table and type of the table. See section 6.5.3 CREATE TABLE Syntax.


Kako točno se uporablja pa si le sam preberi na tisti strani..
Nothings gonna stop me now, I'm breaking the rules, I'm gonna do it if its not allowed


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

PostgreSQL pomoč

Oddelek: Programiranje
162365 (1858) Mato989
»

SQL težava

Oddelek: Programiranje
364575 (3857) joseti
»

mysql vnos

Oddelek: Izdelava spletišč
51476 (1441) asgard2.0
»

mysql help

Oddelek: Izdelava spletišč
81997 (1793) poweroff
»

Mam en problem...

Oddelek: Programiranje
111116 (953) glavic

Več podobnih tem