Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get Table Columns using ibatis #48

Open
GoogleCodeExporter opened this issue Nov 22, 2015 · 2 comments
Open

How to get Table Columns using ibatis #48

GoogleCodeExporter opened this issue Nov 22, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

     SELECT COLUMN_NAME  AS AttributeName
              FROM INFORMATION_SCHEMA.COLUMNS    
             WHERE TABLE_NAME= 'DataTable' AND COLUMN_NAME IN ('Slot' +'1')

Please help me..

Original issue reported on code.google.com by msekhar...@gmail.com on 5 Jun 2013 at 11:39

@GoogleCodeExporter
Copy link
Author

plz help

Original comment by msekhar...@gmail.com on 5 Jun 2013 at 11:39

@GoogleCodeExporter
Copy link
Author

Its solved by me..  
SELECT COLUMN_NAME  AS AttributeName
      FROM INFORMATION_SCHEMA.COLUMNS
      WHERE TABLE_NAME ='DataTable' and COLUMN_NAME IN
      <iterate open="(" close=")" conjunction=",">
        #[].FieldPosition#
      </iterate>

Original comment by msekhar...@gmail.com on 6 Jun 2013 at 1:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant