|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
select column_name,data_type from information_schema.columns where table_name = 'emp';
the above code give the columns name and its datatype as output.... What is the query for getting the size of the datatype along with the column name and datatype?? eg: name datatype size roll int 4 college char 20 . i hope u got an idea.....plzz help me fast. ![]() |
|
#2
|
||||
|
||||
|
Did the teacher let you in the classroom with an iPhone?
__________________
My blog Tutorials about OSS databases, DBMonster ... Contribute to OSS Development, fill bug reports! Developer Shed eSupport Commented my.ini/my.cnf (ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins Random data (with a bias) |
![]() |
| Viewing: Dev Shed Forums > Databases > PostgreSQL Help > Query help required...urgently...within 1 hr |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|