The Little Guy Posted March 13, 2009 Share Posted March 13, 2009 I need to TRUNCATE 2 tables, how would I do that? I have this, but it isn't working: TRUNCATE TABLE `active_sessions`, `votes` Quote Link to comment https://forums.phpfreaks.com/topic/149288-truncate/ Share on other sites More sharing options...
rhodesa Posted March 13, 2009 Share Posted March 13, 2009 run them as separate queries Quote Link to comment https://forums.phpfreaks.com/topic/149288-truncate/#findComment-783980 Share on other sites More sharing options...
Maq Posted March 13, 2009 Share Posted March 13, 2009 I need to TRUNCATE 2 tables, how would I do that? I have this, but it isn't working: TRUNCATE TABLE `active_sessions`, `votes` Is there a specific reason you would need them in 1 query? Quote Link to comment https://forums.phpfreaks.com/topic/149288-truncate/#findComment-784124 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.