Bir türlü elimdeki sql çalıştıramıyorum - Google Fan Webmaster Forum
Google Fan Webmaster Forum  

Geri Dön   Google Fan Webmaster Forum > Genel Programlama > Database

Database Access Oracle MSSQL MySQL Sybase DB2 Databases

Cevapla
 
LinkBack Konu Seçenekleri
  #1 (permalink)  
Eski 11-08-2007, 20:10:31
 
Ankara Şubesi
Yaş: 22
Mesajlar: 170
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader Puanı: (-1)
iTrader Feedback: (0%)
Rep puanı: 0
MaXCiLoPeZ19 isimli üyemiz hakkına hiçbir bilgimiz yok.
MaXCiLoPeZ19 - MSN üzerinden Mesaj gönder
Tanımlı Bir türlü elimdeki sql çalıştıramıyorum

arkadaşlar elimdeki dökümanlarla sql yaptım
ve hazırda bulunan tabloya aktarcam

Tablo bu
Code:
DROP TABLE IF EXISTS `oyunlistesi`;
CREATE TABLE `oyunlistesi` (
  `listeid` int(11) NOT NULL auto_increment,
  `resmi` text NOT NULL,
  `baslik` text NOT NULL,
  `tus` text NOT NULL,
  `aciklama` text NOT NULL,
  `swf` text NOT NULL,
  `rekor` text NOT NULL,
  `kategori` varchar(50) NOT NULL default '',
  `oynandi` bigint(20) NOT NULL default '0',
  PRIMARY KEY  (`listeid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin5 AUTO_INCREMENT=350 ;
Tabloda 350 Tane oyun var
Benim hazırladığım sql de bu

Code:
INSERT INTO `oyunlistesi` (`listeid`, `resmi`, `baslik`, `tus`, `aciklama`, `swf`, `rekor`, `kategori`, `oynandi`) VALUES
(NULL, '1602.png', 'X-Bound', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'Play breakout with a full 360 degree rotation of your paddle. The blocks are in a circle around you.', '1602.swf', '', 'beceri', '0),
(NULL, '5miles2go.png', '5 Miles To Go', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', '5 cars left in the game with 5 miles left to go all with the same specs, can you beat 'em?', '5miles2go.swf', '', 'beceri', '0),
(NULL, 'abg.png', 'Acne Be Gone', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'Pop as many zits and pimples as you can before the timer hits zero.', 'abg.swf', '', 'beceri', '0),
(NULL, '1797.png', 'Golf 2001', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A fun 2D online golf game. Has nice graphics.', '1797.swf', '', 'beceri', '0),
(NULL, '3dWorm.png', '3D Worm', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A 3D version similar to snake.', '3dWorm.swf', '', 'beceri', '0),
(NULL, '1867.png', 'Power Fox', 'Bu oyun <b>Space</b> ve <b>Sağ, Sol Ok tuşları</b> ile oynanmaktadır..', 'A baby fox going around blowing things up.', '1867.swf', '', 'beceri', '0),
(NULL, 'penguinoids.png', 'Penguinoids', 'Bu oyun <b>Space</b> ve <b>Sağ, Sol Ok tuşları</b> ile oynanmaktadır..', 'A bit like Breakout but with penguins. Use the seesaw to bounce the penguins against the blocks.', 'penguinoids.swf', '', 'beceri', '0),
(NULL, '1579.png', 'Organ-ise', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A bit of manic ER style madness with a really serious message highlighting the shortage of organs for transplants.', '1579.swf', '', 'beceri', '0),
(NULL, '1442.png', 'H K Cafe', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A cafe running simulation game. Cook and serve the food to the hungry customers before they get angry.', '1442.swf', '', 'beceri', '0),
(NULL, 'forestchallenge2.png', 'Forest Challenge 2', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A challenging mini golf game set in a forest.', 'forestchallenge2.swf', '', 'beceri', '0),
(NULL, '1919.png', 'Cyber Box', 'Bu oyun <b>Yön Okları</b> ile oynanmaktadır.', 'A challenging puzzle game that values skill above speed! Try to find your way to the exit.', '1919.swf', '', 'beceri', '0),
(NULL, 'warriorwm.png', 'Galactic Warrior', 'Bu oyun <b>Yön Okları</b> ile oynanmaktadır.', 'A classic arcade game remake. Shoot down space aliens and fight for a high score!', 'warriorwm.swf', '', 'beceri', '0),
(NULL, 'colors.png', 'Colors', 'Bu oyun <b>Yön Okları</b> ile oynanmaktadır.', 'A computerized version of Simon Says, with music as well.', 'colors.swf', '', 'beceri', '0),
(NULL, '1621.png', 'Ragdoll Physics 2', 'Bu oyun <b>Fare</b> ve <b>Space</b> ile oynanmaktadır.', 'A demonstration of Ragdoll Physics where Bush is falling down into a never ending pit!', '1621.swf', '', 'beceri', '0),
(NULL, '1752.png', 'Underground', 'Bu oyun <b>Sağ Sol</b> ve <b>Yön tuşları</b> ile oynanmaktadır.', 'A Donkey Gong remake with a crow instead of the big ape.', '1752.swf', '', 'beceri', '0),
(NULL, '1711.png', 'Super Flash Mario Bros.', 'Bu oyun <b>Yön tuşları</b> ile oynanmaktadır.', 'A flash remake of the original Super Mario Bros.', '1711.swf', '', 'beceri', '0),
(NULL, '1733.png', 'Thin Ice', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', '"A fun game from the movie ""The Incredibles."""', '1733.swf', '', 'beceri', '0),
(NULL, '2228.png', 'Frantic', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A fun game in which you must find the button on time.', '2228.swf', '', 'beceri', '0),
(NULL, '1575.png', 'One Soldier', 'Bu oyun <b>Sağ Sol</b> ve <b>P</b> tuşu ile oynanmaktadır.', 'A fun game in which you play as a soldier out to avenge his brother.', '1575.swf', '', 'beceri', '0),
(NULL, '1904.png', 'Cave Problems', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'Collect coins to proceed to the next level.', '1904.swf', '', 'beceri', '0),
(NULL, 'CheeseHunt.png', 'Cheese Hunt', 'Bu oyun <b>Space</b> ile oynanmaktadır.', 'A fun platform game where you must collect all of the cheese.', 'CheeseHunt.swf', '', 'beceri', '0),
(NULL, 'puzzled-1.png', 'Puzzled 1', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A fun point and click game.', 'puzzled-1.swf', '', 'beceri', '0),
(NULL, '2176.png', 'Bad Apple', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A fun version of Minesweeper for kids.', '2176.swf', '', 'beceri', '0),
(NULL, 'tabletennis.png', 'Table Tennis', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A fun, challenging, and addictive table tennis game.', 'tabletennis.swf', '', 'beceri', '0),
(NULL, '2312.png', 'Windows Expee', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A funny and clever parody of the Windows XP operating system. it\'s hilarious to watch the annoying errors.', '2312.swf', '', 'beceri', '0),
(NULL, '2104.png', 'School', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A great animation about a kid in school writing about the fun he had over the summer.', '2104.swf', '', 'beceri', '0),
(NULL, '1358.png', 'Disorderly', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'Move old people from a retirement home to accommodate younger ones and increase profits.', '1358.swf', '', 'beceri', '0),
(NULL, '2307.png', 'Super MPCorp Land', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A game that resembles Super Mario. Rescue your friend Jbeu kidnapped by the evil creatures.', '2307.swf', '', 'beceri', '0),
(NULL, 'pmatch.png', 'Perfect Match', 'Bu oyun <b>Yön Okları</b> ile oynanmaktadır.', 'A good matching game. Can you find the pairs?', 'pmatch.swf', '', 'beceri', '0),
(NULL, 'celBlasterFullVersion.png', 'Cell Blaster', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', 'A good shooting game. You have to shoot down other spaceships to stay alive.', 'celBlasterFullVersion.swf', '', 'beceri', '0),
(NULL, '2018.png', 'Urban Slug', 'Bu oyun <b>Fare</b> ve <b>P</b> tuşu ile oynanmaktadır.', 'A good war/strategy game.', '2018.swf', '', 'beceri', '0),
Otamatik artsın diye Hep Null Kullandım

Bunu sorgulatmaya çalıştığımda

MySQL çıktısı:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '5miles2go.png', '5 Miles To Go', 'Bu oyun <b>Fare</b> ile oynanmaktadır.', '5 c' at line 2

Böyle bir hata veriyor ne yapabilirim tşk...
Alıntı ile Cevapla
  #2 (permalink)  
Eski 20-10-2007, 02:08:14
makkaveli - ait Avatar  
Adana Şubesi
Mesajlar: 41
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader Puanı: (0)
iTrader Feedback: (0%)
Rep puanı: 1
makkaveli isimli üyemiz hakkına hiçbir bilgimiz yok.
Tanımlı

Sadece o satırdaki oyunu kaldırıp denedin mi 5miles2go neyse onu bi kaldır bakalım, tam anlamadım ama sorunu umarım çözülür
Alıntı ile Cevapla
  #3 (permalink)  
Eski 20-10-2007, 04:48:53
Seretan - ait Avatar
 
Bursa Şubesi
Mesajlar: 309
Thanks: 0
Thanked 0 Times in 0 Posts
iTrader Puanı: (7)
iTrader Feedback: (77%)
Rep puanı: 13
Seretan isimli üyemiz hakkına hiçbir bilgimiz yok.
Tanımlı

İçerikteki verilere ellemeden tabloları epey bi düzenledim

Yaptığınız hatalar: Çoklu veri eklemeyi bu şekilde yapamazsın.Tabloda belirttiğin parametreler ile eklediiğin veriler uyuşması lazım

her satır sonunda virgül değil ";" kullanmalısın

ve dikkat edersen oynandi alanı için verilen 0 değerinin tırnağı kapatılmamış.

Buyur çalışan hali

Code:
--
-- Tablo yapısı: `oyunlistesi`
--
CREATE TABLE `oyunlistesi` (
  `listeid` int(11) NOT NULL auto_increment,
  `resmi` text NOT NULL,
  `baslik` text NOT NULL,
  `tus` text NOT NULL,
  `aciklama` text NOT NULL,
  `swf` text NOT NULL,
  `rekor` text NOT NULL,
  `kategori` varchar(50) NOT NULL default '',
  `oynandi` bigint(20) NOT NULL default '0',
  PRIMARY KEY  (`listeid`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin5 AUTO_INCREMENT=32 ;
--
-- Tablo döküm verisi `oyunlistesi`
--
INSERT INTO `oyunlistesi` VALUES(1, '1602.png', 'X-Bound', 'Bu oyun Fare ile oynanmaktadır.', 'Play breakout with a full 360 degree rotation of your paddle. The blocks are in a circle around you.', '1602.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(2, '5miles2go.png', '5 Miles To Go', 'Bu oyun Fare ile oynanmaktadır.', '5 cars left in the game with 5 miles left to go all with the same specs, can you beat em?', '5miles2go.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(3, 'abg.png', 'Acne Be Gone', 'Bu oyun Fare ile oynanmaktadır.', 'Pop as many zits and pimples as you can before the timer hits zero.', 'abg.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(4, '1797.png', 'Golf 2001', 'Bu oyun Fare ile oynanmaktadır.', 'A fun 2D online golf game. Has nice graphics.', '1797.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(5, '3dWorm.png', '3D Worm', 'Bu oyun Fare ile oynanmaktadır.', 'A 3D version similar to snake.', '3dWorm.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(6, '1867.png', 'Power Fox', 'Bu oyun Space ve Sağ, Sol Ok tuşları ile oynanmaktadır..', 'A baby fox going around blowing things up.', '1867.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(7, 'penguinoids.png', 'Penguinoids', 'Bu oyun Space ve Sağ, Sol Ok tuşları ile oynanmaktadır..', 'A bit like Breakout but with penguins. Use the seesaw to bounce the penguins against the blocks.', 'penguinoids.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(8, '1579.png', 'Organ-ise', 'Bu oyun Fare ile oynanmaktadır.', 'A bit of manic ER style madness with a really serious message highlighting the shortage of organs for transplants.', '1579.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(9, '1442.png', 'H K Cafe', 'Bu oyun Fare ile oynanmaktadır.', 'A cafe running simulation game. Cook and serve the food to the hungry customers before they get angry.', '1442.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(10, 'forestchallenge2.png', 'Forest Challenge 2', 'Bu oyun Fare ile oynanmaktadır.', 'A challenging mini golf game set in a forest.', 'forestchallenge2.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(11, '1919.png', 'Cyber Box', 'Bu oyun Yön Okları ile oynanmaktadır.', 'A challenging puzzle game that values skill above speed! Try to find your way to the exit.', '1919.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(12, 'warriorwm.png', 'Galactic Warrior', 'Bu oyun Yön Okları ile oynanmaktadır.', 'A classic arcade game remake. Shoot down space aliens and fight for a high score!', 'warriorwm.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(13, 'colors.png', 'Colors', 'Bu oyun Yön Okları ile oynanmaktadır.', 'A computerized version of Simon Says, with music as well.', 'colors.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(14, '1621.png', 'Ragdoll Physics 2', 'Bu oyun Fare ve Space ile oynanmaktadır.', 'A demonstration of Ragdoll Physics where Bush is falling down into a never ending pit!', '1621.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(15, '1752.png', 'Underground', 'Bu oyun Sağ Sol ve Yön tuşları ile oynanmaktadır.', 'A Donkey Gong remake with a crow instead of the big ape.', '1752.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(16, '1711.png', 'Super Flash Mario Bros.', 'Bu oyun Yön tuşları ile oynanmaktadır.', 'A flash remake of the original Super Mario Bros.', '1711.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(17, '1733.png', 'Thin Ice', 'Bu oyun Fare ile oynanmaktadır.', '"A fun game from the movie ""The Incredibles."""', '1733.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(18, '2228.png', 'Frantic', 'Bu oyun Fare ile oynanmaktadır.', 'A fun game in which you must find the button on time.', '2228.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(19, '1575.png', 'One Soldier', 'Bu oyun Sağ Sol ve P tuşu ile oynanmaktadır.', 'A fun game in which you play as a soldier out to avenge his brother.', '1575.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(20, '1904.png', 'Cave Problems', 'Bu oyun Fare ile oynanmaktadır.', 'Collect coins to proceed to the next level.', '1904.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(21, 'CheeseHunt.png', 'Cheese Hunt', 'Bu oyun Space ile oynanmaktadır.', 'A fun platform game where you must collect all of the cheese.', 'CheeseHunt.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(22, 'puzzled-1.png', 'Puzzled 1', 'Bu oyun Fare ile oynanmaktadır.', 'A fun point and click game.', 'puzzled-1.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(23, '2176.png', 'Bad Apple', 'Bu oyun Fare ile oynanmaktadır.', 'A fun version of Minesweeper for kids.', '2176.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(24, 'tabletennis.png', 'Table Tennis', 'Bu oyun Fare ile oynanmaktadır.', 'A fun, challenging, and addictive table tennis game.', 'tabletennis.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(25, '2312.png', 'Windows Expee', 'Bu oyun Fare ile oynanmaktadır.', 'A funny and clever parody of the Windows XP operating system. it''s hilarious to watch the annoying errors.', '2312.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(26, '2104.png', 'School', 'Bu oyun Fare ile oynanmaktadır.', 'A great animation about a kid in school writing about the fun he had over the summer.', '2104.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(27, '1358.png', 'Disorderly', 'Bu oyun Fare ile oynanmaktadır.', 'Move old people from a retirement home to accommodate younger ones and increase profits.', '1358.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(28, '2307.png', 'Super MPCorp Land', 'Bu oyun Fare ile oynanmaktadır.', 'A game that resembles Super Mario. Rescue your friend Jbeu kidnapped by the evil creatures.', '2307.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(29, 'pmatch.png', 'Perfect Match', 'Bu oyun Yön Okları ile oynanmaktadır.', 'A good matching game. Can you find the pairs?', 'pmatch.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(30, 'celBlasterFullVersion.png', 'Cell Blaster', 'Bu oyun Fare ile oynanmaktadır.', 'A good shooting game. You have to shoot down other spaceships to stay alive.', 'celBlasterFullVersion.swf', '', 'beceri', 0);
INSERT INTO `oyunlistesi` VALUES(31, '2018.png', 'Urban Slug', 'Bu oyun Fare ve P tuşu ile oynanmaktadır.', 'A good war/strategy game.', '2018.swf', '', 'beceri', 0);
__________________
Fireworks'u Çok Seviyoruz :)

Konu Seretan tarafından (20-10-2007 Saat 04:52:37 ) de değiştirilmiştir..
Alıntı ile Cevapla
Cevapla


Konuyu Toplam 1 üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Konu Seçenekleri

Yetkileriniz
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Okuduğunuz Konuya Benzer Konular
Konu Konuyu Açan Forum Cevaplar Son Mesaj
Bütün E-mail’lerimiz İstenirse Okunuyor mahmutsan Gündemdeki konular & Haberler 16 22-05-2007 12:48:56
Bel Sağlığı İçin 40 Tavsiye mahmutsan Off-Topic 6 13-04-2007 13:50:15
İnternet Terimleri Sözlüğü mahmutsan BT Dünyası 0 01-02-2007 13:01:31
Veritabanı Oluşturma ve Sql Yükleme KaaN Database 3 27-12-2006 16:31:18

Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 19:37:01 .


 
Telif Hakları vBulletin v3.7.3 © 2000-2008, ve Jelsoft Enterprises Ltd.'e Aittir.
Hosted by Radore Hosting

“İnsanların en hayırlısı, insanlara faydalı olandır”. H.Ş

R10.net Donanım sponsoru Radyomix.fm

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199