Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 22:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Mysql Query für neue Tabelle

Discussion on Mysql Query für neue Tabelle within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1

 
.yorliK's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 1,448
Received Thanks: 1,257
Mysql Query für neue Tabelle

Hey Com,

ich wollte Mal wissen, wie man einen Mysql-Query Code für Navicat macht, der eine neue Tabelle erstellt und gleichzeitig Spalten und primary Keys setzt.
.yorliK is offline  
Old 06/20/2014, 23:46   #2
 
[Itchy]'s Avatar
 
elite*gold: 0
Join Date: Jun 2014
Posts: 8
Received Thanks: 3
Code:
create table Tabelle
(
  ID integerNOT NULL,
  Name varchar(256) NOT NULL,
  PRIMARY KEY(ID)
);
Hoffe der Codeausschnitt ist deutlich genug
[Itchy] is offline  
Thanks
1 User
Old 06/21/2014, 16:02   #3
 
Mashkin's Avatar
 
elite*gold: 44
Join Date: May 2010
Posts: 2,053
Received Thanks: 1,747
Gute Quellen zum Lernen oder "schnell machen" sind zum einen die MySQL-Dokumentation zu CREATE TABLE und zum anderen GUI Tools wie Navicat: man kann eine Tabelle einfach definieren und dann die Query als Vorschau anschauen.
Mashkin is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Kleine Frage an die MySQL-Profis ^^ || MySQL Query
05/27/2014 - Web Development - 7 Replies
Hallo, da ich gerade dabei bin ein Script für meine Webseite umzuschreiben und die Registration einfach nicht klappt, habe ich das Script mal auseinandergenommen und angeschaut. Bei der Registration macht das Script / die Query folgendes : Also Theoretisch:
MYSQL Tabelle.
08/10/2013 - Web Development - 4 Replies
Kann mann bei MyPHP eine Tabelle aussuchen z.b Emails. und dann nur die emails raus kopieren damit man sie abspeichern kann. also nich die ganzen zeilen sonder nur Emails.
PHP/MySQL Help - Is this MySQL Query correct?
09/23/2011 - CO2 Programming - 1 Replies
$rank = mysql_query("SELECT Name,Level,Class,Online FROM entities ORDER BY Level DESC LIMIT $limit"); I'm pretty sure that is right... whenever I do while ($row = mysql_fetch_array($rank)) { ... } It always gives me a mysql_fetch_array error. I've checked and the database is populated, the columns exist, so what could be the issue?



All times are GMT +1. The time now is 22:54.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.