The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Query syntax error help
I'm attempting to copy the subscribethread table to a new table called unsub_subscribethread. Once the table is created I need to copy the data from subscribethread to unsub_subscribethread. I'm still a novice with sql but what I have looks right to me, but both queries give a syntax error
Code:
$db->query_write("CREATE TABLE IF NOT EXISTS " . TABLE_PREFIX . "unsub_subscribethread LIKE subscribethread"); Code:
$db->query_write("INSERT " . " unsub_sunscribethread SELECT * FROM subscribethread "); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|