Connecting Tech Pros Worldwide Help | Site Map

Dynamic Fields

  #1  
Old May 5th, 2009, 06:38 AM
Newbie
 
Join Date: Apr 2009
Posts: 16
Hi hello,

I have a task assignment regarding for the dynamic fields. My task is to create a table in postgresql database and make the fields of this table a dynamic.

This means that the table can be added, renamed and deleted the fields. On ther hand, the datatype of field can be changed also.

One that come up to my mind to solve this through procedural language for the PostgreSQL. But I'm a newbee for this. Well, I'm studying this procedural as fast as i can.

Do you have any idea on how to make a dynamic fields to the table?
I also want a help regarding to procedural on how to make this dynamic fields if this is the way to solution.

I appreciate for any idea. Thanks...
  #2  
Old May 6th, 2009, 07:47 AM
Moderator
 
Join Date: Dec 2006
Location: Europe
Posts: 290

re: Dynamic Fields


What is the diffrenece between columns and dynamic fields?
  #3  
Old May 6th, 2009, 10:09 AM
Newbie
 
Join Date: Apr 2009
Posts: 16

re: Dynamic Fields


Thanks for the reply.
The columns and fields that i'm referring is the same.

This kind of problem is that i can add, delete or update a column name together with its datatype without altering the table.

Hope you reply.
  #4  
Old May 6th, 2009, 02:54 PM
Moderator
 
Join Date: Dec 2006
Location: Europe
Posts: 290

re: Dynamic Fields


gosh my english isn't good enough because I completly don't know what you are talking about :).

What dose it mean
Quote:
can add, delete or update a column name together with its datatype without altering the table.
Can you give an example what do you want to achieve?
  #5  
Old May 6th, 2009, 04:13 PM
Newbie
 
Join Date: Apr 2009
Posts: 16

re: Dynamic Fields


Thanks for the reply.

Quote:
can add, delete or update a column name together with its datatype without altering the table.
when i want to add a new field to an existing table(which has already fields itself) then, i want to add a field to this table without altering it.

For example, table name: person has a field which is a name, then, i want to add a field which is an age. Then, i query the person table then it would output of these fields: name and age.
Same also with updating or renaming or deleting the field.
But this should not use in adding through alter.

Well, the buttom point for this is to make a dynamic fields for a table.

Any form of idea is welcome.
Ay suggestion is welcome.
hope you reply again.

thanks.
Sorry for my english. :)
  #6  
Old May 6th, 2009, 05:49 PM
Moderator
 
Join Date: Dec 2006
Location: Europe
Posts: 290

re: Dynamic Fields


Should the dynamic fields be stored in the database, or dynamicaly computed?
  #7  
Old May 7th, 2009, 02:56 AM
Newbie
 
Join Date: Apr 2009
Posts: 16

re: Dynamic Fields


Quote:
Originally Posted by rski View Post
Should the dynamic fields be stored in the database, or dynamicaly computed?

Any solution is OK. As long as it is work for this.
  #8  
Old May 7th, 2009, 10:01 AM
Newbie
 
Join Date: Apr 2009
Posts: 16

re: Dynamic Fields


hi hello, thaks a lot for your help.

I have an idea on how to solve this problem.

But, if you have an idea for this, I am still willing to hear from you.

Thanks a lot. :)
  #9  
Old May 7th, 2009, 10:12 AM
Moderator
 
Join Date: Dec 2006
Location: Europe
Posts: 290

re: Dynamic Fields


Show your proposition cos I'm still a bit confused?
Reply

Tags
dynamic fields


Similar Threads
Thread Thread Starter Forum Replies Last Post
custom paging w/ dynamic fields =?Utf-8?B?SmVmZiBCZWVt?= answers 7 May 17th, 2007 08:55 PM
adding dynamic fields to a model ... damianrr answers 0 April 17th, 2007 03:22 AM
problem to get the dynamic fields of a datalist charmetton answers 1 November 18th, 2005 10:56 PM
[Webware] FormKit - dynamic fields problem JZ answers 1 July 18th, 2005 08:29 AM