anolsi Posted May 19, 2008 at 11:41 AM Report Share #186038 Posted May 19, 2008 at 11:41 AM Existe alguma maneira de obter os nomes das colunas através de SQL, no MySQL? "Nós somos o que fazemos repetidamente, a excelência não é um feito, e sim, um hábito."Não respondo a questões por PM que possam ser colocadas no fórum! Link to comment Share on other sites More sharing options...
José Lopes Posted May 19, 2008 at 04:58 PM Report Share #186099 Posted May 19, 2008 at 04:58 PM Para oracle usa-se: Describe nome da tabela Mas isso retorna uma série de propriedades. Quando te pedirem peixe.... ensina-os a Pescar!!Hum..lálálálá!! Link to comment Share on other sites More sharing options...
pedrotuga Posted May 19, 2008 at 06:01 PM Report Share #186126 Posted May 19, 2008 at 06:01 PM Yaps, e é assim que se faz em praticamente todos os SGBDs que usam SQL. Dêm documentação a este homem 🙂 http://dev.mysql.com/doc/refman/5.0/en/describe.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