This very common requirement in any Database to extend a table. Developers must be very careful when designing the DB tables and organizing the data. If you are already in middle of the development and encountered that there are more than one table need to share the same fields which are common in all the tables, then create a parent table and promote the commonly used fields into parent table, so that all the child tables can share the fields.
Syntax :
GlideDBUtil.promoteColumn('table_to_move_from', 'table_to_move_to', 'field_to_move', true);
Example : Let's say I want to move 'category' field from 'incident' table to 'task' table
GlideDBUtil.promoteColumn('incident', 'task', 'category', true);
Reference : http://www.servicenowguru.com/scripting/promote-field-extended-table-servicenow/
interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new posts,Thanks a million once again, Regards servicenow training in hyderabad
ReplyDeleteI am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work..
ReplyDeleteServiceNow training in Hyderabad
the blog is about servicenow introduction it is good for more Updated information about Servicenow go with ServiceNow Online Training
ReplyDeleteservice Now Training in Hyderabad
service Now Course Content
service Now Interview Questions
service Now Training in ameerpet
service Now Online Training in Hyderabad
ReplyDeleteThank you for sharing wonderful information with us to get some idea about it.
Servicenow Now Learning
Servicenow Online Training
Servicenow Online Training in Hyderabad
Servicenow Developer Training
Servicenow Training in Ameerpet
Servicenow Course Online
Best Servicenow Online Training
Servicenow Developer Training Online
Servicenow Admin Training Online
Learn Servicenow Online
Servicenow Developer Online Training
vmware training
ReplyDeleteServiceNow Online Training
Good Article and Nice post....
ReplyDeleteServiceNow Admin Training Online
ServiceNow Admin Online Training