Sreeprasad Posted September 28, 2015 Share Posted September 28, 2015 Hi All, I want to compare the column name, date type and the length of the column of two different tables. I want the result for which are not matching. I tried by concatenating column name + data type + length. But I am getting conversion error. Could you please help me. Link to comment Share on other sites More sharing options...
justsomeguy Posted September 28, 2015 Share Posted September 28, 2015 If you're using MySQL then you can use SHOW COLUMNS to get information about the columns in a table:https://dev.mysql.com/doc/refman/5.0/en/show-columns.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now