MySQL --> MSSQL

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
damousys
Berichten: 105
Lid geworden op: 05 okt 2004, 20:05
Contacteer:

MySQL --> MSSQL

Bericht door damousys » 14 okt 2004, 14:28

wie kan deze code vertalen naar een MSSQL query ?

Code: Selecteer alles

SELECT t.topic_id, t.topic_time, t.topic_title, pt.post_text, u.username, u.user_id, t.topic_replies, pt.bbcode_uid, t.forum_id, t.topic_poster, t.topic_first_post_id, t.topic_status, pt.post_id, p.post_id, p.enable_smilies FROM phpbb_topics AS t, phpbb_users AS u, phpbb_posts_text AS pt, phpbb_posts AS p WHERE t.forum_id IN (1) AND t.topic_time <= 1097674309 AND t.topic_poster = u.user_id AND t.topic_first_post_id = pt.post_id AND t.topic_first_post_id = p.post_id AND t.topic_status <> 2 ORDER BY t.topic_time DESC LIMIT 0,5

ajcied
Berichten: 657
Lid geworden op: 28 feb 2004, 12:55

Re: MySQL --> MSSQL

Bericht door ajcied » 14 okt 2004, 14:40

http://www.phpbbhacks.com/forums/db_gen ... 0518e38f21
Invoeren

Opslaan op je harde schijf!
Dan uploaden en dan uitvoeren in je phpBB2 map!

Gebruikersavatar
mosymuis
Berichten: 6940
Lid geworden op: 05 feb 2003, 14:00
Locatie: Amsterdam
Contacteer:

Bericht door mosymuis » 14 okt 2004, 14:57

ajcied, hij vraagt iets compleets anders.

ajcied
Berichten: 657
Lid geworden op: 28 feb 2004, 12:55

Bericht door ajcied » 14 okt 2004, 15:14

Sorry dacht dat ie dit bedoelde :roll:

Gesloten