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` 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 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? Link to comment https://forums.phpfreaks.com/topic/149288-truncate/#findComment-784124 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.