shadiadiph Posted December 24, 2008 Share Posted December 24, 2008 1) Can you use a default image as the value of an sql column? 2) Can you move and replace data between columns or rename and swap the column name values easily? Quote Link to comment https://forums.phpfreaks.com/topic/138295-a-couple-of-questions-that-shouldnt-be-too-difficult-to-answer/ Share on other sites More sharing options...
shadiadiph Posted December 24, 2008 Author Share Posted December 24, 2008 for example to be more clear Is it possible to swap the names of two columns or more? for example i have a table called uploads has an id number that would not change but i would like to know how to swap the names of column images1 and column images 2 without loosing or changing the data in those columns?? Quote Link to comment https://forums.phpfreaks.com/topic/138295-a-couple-of-questions-that-shouldnt-be-too-difficult-to-answer/#findComment-723113 Share on other sites More sharing options...
fenway Posted December 26, 2008 Share Posted December 26, 2008 1) How do you mean? 2) if you have images1 and images2, then your table isn't normalized. Quote Link to comment https://forums.phpfreaks.com/topic/138295-a-couple-of-questions-that-shouldnt-be-too-difficult-to-answer/#findComment-724128 Share on other sites More sharing options...
shadiadiph Posted December 27, 2008 Author Share Posted December 27, 2008 mm sorry for soundng stupid but what do you mead by nomalized? sorry lost me there! I am quite new to sql but learning quickly haven't come accross that phrase before. Quote Link to comment https://forums.phpfreaks.com/topic/138295-a-couple-of-questions-that-shouldnt-be-too-difficult-to-answer/#findComment-724236 Share on other sites More sharing options...
fenway Posted December 29, 2008 Share Posted December 29, 2008 Check the stickies. Quote Link to comment https://forums.phpfreaks.com/topic/138295-a-couple-of-questions-that-shouldnt-be-too-difficult-to-answer/#findComment-725691 Share on other sites More sharing options...
shadiadiph Posted December 29, 2008 Author Share Posted December 29, 2008 ok will do thanks Quote Link to comment https://forums.phpfreaks.com/topic/138295-a-couple-of-questions-that-shouldnt-be-too-difficult-to-answer/#findComment-725712 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.