Forum » Izdelava spletišč » 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?
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..
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 ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | PostgreSQL pomočOddelek: Programiranje | 2503 (1996) | Mato989 |
» | SQL težavaOddelek: Programiranje | 5149 (4431) | joseti |
» | mysql vnosOddelek: Izdelava spletišč | 1548 (1513) | asgard2.0 |
» | mysql helpOddelek: Izdelava spletišč | 2090 (1886) | poweroff |
» | Mam en problem...Oddelek: Programiranje | 1205 (1042) | glavic |