Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
se define en el constructo create table.
it is defined in the create table construct.
Ultimo aggiornamento 2018-02-13
Frequenza di utilizzo: 1
Qualità:
por ejemplo, en la siguiente instrucción, create table customer
so, if the table already contains the following rows:
Ultimo aggiornamento 2018-02-13
Frequenza di utilizzo: 1
Qualità:
create table este comando permite crear una tabla con sus columnas.
create table this command creates a table with its columns.
Ultimo aggiornamento 2018-02-13
Frequenza di utilizzo: 1
Qualità:
antes de sumergirnos en la sintaxis sql para create table, es una buena idea comprender lo que se incluye en una tabla.
therefore, the create table statement is one of the most fundamental components of sql.
create table otro comando muy importante, el de creación de la tabla y sus columnas, vamos a ver que tipos de datos podemos tratar :
create table another important command, the creation of a table and its columns, let us see now the type of data that can be handle:
las claves primarias pueden especificarse cuando se crea la tabla (utilizando create table) o cambiando la estructura existente de la tabla (utilizando alter table).
primary keys can be specified either when the table is created (using create table) or by changing the existing table structure (using alter table).
en este diálogo puede digitar únicamente comandos administrativos, tales como grant, create table, o drop table, y no comandos de filtrado. el comando que digite dependerá del origen de datos, por ejemplo, dbase solo admite algunos comandos sql de los listados aquí.
you can only enter administration commands in this dialog, such as grant, create table, or drop table, and not filter commands. the commands that you can enter depend on the data source, for example, dbase can only run some of the sql commands list here.
?php print "html pre"; $db = ""; $c1 = ocilogon("scott" ,"tiger",$db); $c2 = ocilogon("scott" ,"tiger",$db); function create_table($conn) {$stmt = ociparse($conn ,"create table scott.hallo (test varchar2(64))"); ociexecute($stmt); echo $conn. "created table\n\n";} function drop_table($conn) {$stmt = ociparse($conn ,"drop table scott.hallo"); ociexecute($stmt); echo $conn." dropped table\n\n";} function insert_data($conn) {$stmt = ociparse($conn ,"insert into scott.hallo values('$conn '_bar_ _bar_' '_bar_ _bar_ to_char(sysdate ,'dd-mon-yy hh24:mi:ss'))"); ociexecute($stmt,oci_default); echo $conn. "inserted hallo\n\n";} function delete_data($conn) {$stmt = ociparse($conn ,"delete from scott.hallo"); ociexecute($stmt,oci_default); echo $conn." deleted hallo\n\n";} function commit($conn) {ocicommit($conn); echo $conn. "commited\n\n";} function rollback($conn) {ocirollback($conn); echo $conn." rollback\n\n";} function select_data($conn) {$stmt = ociparse($conn ,"select * from scott.hallo"); ociexecute($stmt,oci_default); echo $conn ."----selecting\n\n"; while (ocifetch($stmt)) echo $conn. "".ociresult($stmt ,"test")." \n\n"; echo $conn ."----done\n\n";} create_table($c1); insert_data($c1); / / insert a row using c1 insert_data($c2); / / insert a row using c2 select_data($c1); / / results of both inserts are returned select_data($c2); rollback($c1); / / rollback using c1 select_data($c1); / / both inserts have been rolled back select_data($c2); insert_data($c2); / / insert a row using c2 commit($c2); / / commit using c2 select_data($c1); / / result of c2 insert is returned delete_data($c1); / / delete all rows in table using c1 select_data($c1); / / no rows returned select_data($c2); / / no rows returned commit($c1); / / commit using c1 select_data($c1); / / no rows returned select_data($c2); / / no rows returned drop_table($c1); print "/ pre / html";?
?php print "html pre"; $db = ""; $c1 = ocilogon("scott" ,"tiger",$db); $c2 = ocilogon("scott" ,"tiger",$db); function create_table($conn) {$stmt = ociparse($conn ,"create table scott.hallo (test varchar2(64))"); ociexecute($stmt); echo $conn. "created table\n\n";} function drop_table($conn) {$stmt = ociparse($conn ,"drop table scott.hallo"); ociexecute($stmt); echo $conn." dropped table\n\n";} function insert_data($conn) {$stmt = ociparse($conn ,"insert into scott.hallo values('$conn '_bar_ _bar_' '_bar_ _bar_ to_char(sysdate ,'dd-mon-yy hh24:mi:ss'))"); ociexecute($stmt,oci_default); echo $conn. "inserted hallo\n\n";} function delete_data($conn) {$stmt = ociparse($conn ,"delete from scott.hallo"); ociexecute($stmt,oci_default); echo $conn." deleted hallo\n\n";} function commit($conn) {ocicommit($conn); echo $conn. "committed\n\n";} function rollback($conn) {ocirollback($conn); echo $conn." rollback\n\n";} function select_data($conn) {$stmt = ociparse($conn ,"select * from scott.hallo"); ociexecute($stmt,oci_default); echo $conn ."----selecting\n\n"; while (ocifetch($stmt)) echo $conn. "".ociresult($stmt ,"test")." \n\n"; echo $conn ."----done\n\n";} create_table($c1); insert_data($c1); / / insert a row using c1 insert_data($c2); / / insert a row using c2 select_data($c1); / / results of both inserts are returned select_data($c2); rollback($c1); / / rollback using c1 select_data($c1); / / both inserts have been rolled back select_data($c2); insert_data($c2); / / insert a row using c2 commit($c2); / / commit using c2 select_data($c1); / / result of c2 insert is returned delete_data($c1); / / delete all rows in table using c1 select_data($c1); / / no rows returned select_data($c2); / / no rows returned commit($c1); / / commit using c1 select_data($c1); / / no rows returned select_data($c2); / / no rows returned drop_table($c1); print "/ pre / html";?