Pagina 1 van 1

MySQL --> MSSQL

Geplaatst: 14 okt 2004, 14:28
door damousys
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

Re: MySQL --> MSSQL

Geplaatst: 14 okt 2004, 14:40
door ajcied
http://www.phpbbhacks.com/forums/db_gen ... 0518e38f21
Invoeren

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

Geplaatst: 14 okt 2004, 14:57
door mosymuis
ajcied, hij vraagt iets compleets anders.

Geplaatst: 14 okt 2004, 15:14
door ajcied
Sorry dacht dat ie dit bedoelde :roll: