Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
create-table
- Page 1
Re: Delete unused MySQL indexes
Programming
Databases
1 Day Ago
by Reverend Jim
… (almost always) on the views. I wrote scripts to automatically
create
the new databases and the views. When corporate IT decided… to
create
their own copy I heard that their database people were…
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by toneewa
… can be done if you use the InnoDB storage engine.
Create
separate PDO connections for each database. I wonder what kind… same server and use InnoDB, you can use fully qualified
table
names, and write to multiple databases on a single connection…
Re: Question/Answering over SQL Data Using LangGraph Framework
Programming
Computer Science
1 Month Ago
by Pelorus_1
Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever.
Create Table Query Msaccess
Programming
Software Development
10 Years Ago
by rajit_1
Create
Table
Query Msaccess Is it possible that through any software i … which i can get sql Codes for creating those 20
table
struture ?
create table help
Programming
Databases
12 Years Ago
by hwoarang69
trying to
create
table
in Access2007.
CREATE
TABLE
user (id Text(8), last Text(25), first Text(20), class Text(10), dob DateTime); but
table
is not being created. ERROR: query must have at least one destination field.
Re: create table help
Programming
Databases
12 Years Ago
by BitBlt
… alternative, you should enclose every column name (and probably the
table
name) in square brackets. This will force the Jet engine… than reserved words. So, your query would look like this:
CREATE
TABLE
[user] ([id] Text(8), [last] Text(25), [first] Text(20…
create table
Programming
Databases
13 Years Ago
by Arjun_Sarankulu
… from textbox and store in one variable I need to
create
table
with two columns 1)username 2)query But query can…
Create Table on SqlServer Through Asp.net coding
Programming
Web Development
18 Years Ago
by shikha.ch
… me as soon as possible. I want to
create
table
on my database. i tried Following code Protected … = server.Databases("MyDB") '
Create
Table
[COLOR=red]Dim newTab As New
Table
(db, "NewTab")[/COLOR] '…Source Error: Line 24: Line 25: '
Create
Table
Line 26: Dim newTab As New
Table
(db, "NewTab") Line 27…
Create table variable with spaces
Programming
Web Development
13 Years Ago
by RazorRamon
…. Right now the code creates the
table
but only uses the first word. [CODE] $
create
="
Create
TABLE
$topic (I know this part works…)"; mysql_query($
create
); [/CODE] I tried adding single quotes to [CODE] $
create
="
Create
TABLE
'$topic…
create table in sql using php code
Programming
Web Development
16 Years Ago
by ramseswar
i want to
create
a
table
in sql database using php code. if i …(given below) in my php source code [code]"
CREATE
TABLE
new_table( id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, id1 VARCHAR(… syntax error .... and with another code (below) [code]$sql = '
CREATE
TABLE
`database_name`.`new_table` (`ds` VARCHAR(2) NOT NULL) ENGINE = InnoDB';[/…
Create Table with name being the last primary key generated
Programming
Databases
13 Years Ago
by strongpot
…$name, in the
CREATE
TABLE
query the darn thing breaks, meaning no
table
is created. The rest… = mysql_insert_id(); echo $newid; // creates new
table
mysql_query ("
CREATE
TABLE
$newid ( id INT NOT NULL PRIMARY KEY … // inserts last entered unique id to the new
table
mysql_query("INSERT INTO $newid VALUES ('id', '$newid…
Create table error (probably syntax)
Programming
Databases
13 Years Ago
by epicrevolt
…database on previous lines, now i'm trying to
create
a
table
. The error I get is: [QUOTE]You …and line 2 is blank. [CODE=php] mysql_query("
CREATE
TABLE
users( userid INT(11) NOT NULL AUTO_INCREMENT PRIMARY_KEY, …('<span style="color:red">Could not
create
table
users in ' . $dbname . ': ' . mysql_error() . '</span>…
Re: Create Table with name being the last primary key generated
Programming
Databases
13 Years Ago
by strongpot
… that mysql generated $newid = mysql_insert_id(); echo $newid; // creates new
table
mysql_query ("
CREATE
TABLE
$newid ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, merchid… NOW())"); // inserts last entered unique id to the new
table
mysql_query("INSERT INTO $newid VALUES ('id', '$newid', 'custid', 'modified…
create table when user creates account?
Programming
Software Development
13 Years Ago
by teambiohazard
hello all, how can I add a user to a
table
in a mysql database without datagridview ? I already have this: [… If[/CODE] where to add the
create
table
?? I need a
table
which contains the folllowing data: [CODE]
CREATE
TABLE
`test_addtable`.`username**` ( **must be username…
Re: Create table error (probably syntax)
Programming
Databases
13 Years Ago
by epicrevolt
…quot;]PRIMARY KEY[/COLOR]. [code=php] mysql_query("
CREATE
TABLE
users( userid INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY…('<span style="color:red">Could not
create
table
users in ' . $dbname . ': ' . mysql_error() . '</…;<span style=\"color:green\">
Table
has been successfully created!</span><…
create table in ms access dynamically
Programming
Software Development
16 Years Ago
by dhanya_piit
i want to
create
table
in ms acces database during run time......... Dim myConnection As… String Private Sub cratblebtn_Click() vtblNametxt = tblNametxt.Text myConnection.Execute ("
create
table
" & vtblNametxt & " (id varchar2(3),pname … that am using am getting syntax error in crate
table
satement plz help me out
Create Table from another Table
Programming
Databases
15 Years Ago
by bellatrix77
Hi, need help on coding. I would like to
create
a
table
from another
table
, including relationships/index/keys. I know I can do this: [code=sql]
Create
Table
New_Table as (Select * from Old_Table) where 1=2[/code] but that would not include the relationships/index/keys. I wonder if it is possible to clone entirely by code. Many thanks.
Re: Create Table from another Table
Programming
Databases
15 Years Ago
by Ramesh S
…, need help on coding. I know I can do this:
Create
Table
New_Table as (Select * from Old_Table) where 1=2 [/QUOTE] Yes… relationships/index/keys. You just generate
CREATE
script using SQL Server Management Studio and change
table
name and constraint names accordingly and…
create table in access using vb
Programming
Software Development
12 Years Ago
by samirkhzem
… know the correct synthax for creating a
table
in access database using vb myqry = "
CREATE
TABLE
HoldInvoide'" & k & "…, Total double)" k is a variable i want to
create
a
table
called HoldInvoice1 then HoldInvoice2 ....
create table from another in database with vb.net
Programming
Software Development
11 Years Ago
by gayzlein
I want to
create
a
table
in my database Access from another
table
already existing with vb.net this is my query:
CREATE
TABLE
table_name SELECT as PRODUCT_NAME, PRICE FROM TABLE1 GROUP BY PRODUCT_NAME if someone can help me I would be grateful
Re: create table in ms access dynamically
Programming
Software Development
16 Years Ago
by dhanya_piit
hey veena thanx that really helps but actually i want to know wheter the piece of code snippet that i posted is correct or is it wrong cant i
create
a
table
in exsisting database at runtime using
create
table
command and ms access as backend plz reply........
Re: create table in ms access dynamically
Programming
Software Development
16 Years Ago
by QVeen72
Hi,
CREATE
Table
DDL is Enabled for Access 2K and higher.. Also note : use Text instead of Varchar2 use Long instead on Number some thing like this : myConnection.Execute ("
create
table
" & vtblNametxt & " (id Text(3), pname Text(20), qtyp Long)") REgards Veena
Re: create table in ms access dynamically
Programming
Software Development
3 Months Ago
by Emil_9
…idea. Sub createTblOnTheFly() Dim strSQL As String strSQL = "
CREATE
TABLE
TimeRecord (IDNo Text(30), DTR_Date datetime, TIME_IN datetime, TIME_OUT …not exist" myConnection.Execute strSQL, dbFailOnError Else MsgBox "
Table
exists" End If rsSchema.Close Set rsSchema = Nothing …
Re: create table in ms access dynamically
Programming
Software Development
16 Years Ago
by dhanya_piit
the syntax is creating
table
properly but when i give ame of teh
table
with a space in betwee it gives syntax error..........like if i
create
table
with name"hello" it works fine bt when i use"hello world" it gives error..........can neone resolve this plz.....
Re: create table in access using vb
Programming
Software Development
12 Years Ago
by Reverend Jim
… portion that might be of use to you is
CREATE
TABLE
[dbo].[HoldInvoice]( [Barcode] [varchar](20) NOT NULL, [ItemName] [varchar](40) …
Create Table using JS
Programming
Web Development
14 Years Ago
by lf.gene
… that is there any js that enable to
create
table
in php? Such as <
table
border=1> <tr> <…;td>Gene</td> </tr> </
table
> I want something like just click upon a button…, a new
table
above will shown on the page. Your help is greatly…
Re: Create Table using JS
Programming
Web Development
14 Years Ago
by sergb
…;> function makeTable() { var html = "<
table
border=1><tr><th>Name…;td>Gene</td></tr></
table
>"; document.getElementById("target").innerHTML = html;… type="button" onclick="makeTable();" value="
Create
Table
" /> </body> </html> …
Create table using Command Button
Programming
Software Development
16 Years Ago
by vikrant_program
I want to
create
table
in MsAccess using command Button in VB 6.0 . The
table
should contain the default fields such as Name Text, Roll No Long etc.It should save the name of
table
with the desired name. So please post the code here...........
create table code
Programming
Databases
12 Years Ago
by arcticM
in this code-
CREATE
TABLE
`tablename` ( `id` int(10) unsigned NOT NULL auto_increment, `a` varchar(… KEY? I know PRIMARY KEY sets the pk of the
table
.. but I don't understand the rest of the lines…
Re: Create Table Error 1064
Programming
Databases
14 Years Ago
by griswolf
… issue is the single quotes. If you want to quote
table
or column names, you need to use back-quote (`) not… just removed your wrong quotes. This works for me: [CODE]
CREATE
TABLE
visit_recipes ( id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, name…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC