Jump to content

Inverter Resultado de um SELECT

Recommended Posts


Olá gostaria de saber se tem como eu inverter o resultado de um SELECT que vem normalmente desse modo:

Reg |Nome |Endereco |Numero |Data

1 |Exm1 |Exm1 |1 |15/10/2015

2 |Exm2 |Exm2 |2 |15/10/2012

Para ser exibido deste modo:

Reg |1 |2

Nome |Exm1 |Exm2

Endereco |Exm1 |Exm2

Numero |1 |2

Data |15/10/2015 |15/10/2015

Estou jogando o resultado em uma variável SuperDataSet e depois populando uma tabela dentro de uma ListView

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.