How to merge two tables with union Operation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 08:18 AM
Hi All,
How to merge two tables with union Operation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 08:27 AM
As I understand it you don't actually merge tables in Service Now. You use the data from your two tables to create an all new database view. The new database view will essentially be the outcome of merging your two (or more tables) while your original tables are left unchanged. Then you can just use your database view as you would a table.
http://wiki.servicenow.com/index.php?title=Database_Views
So go create a database view. Use the two tables you'd like to merge. You'll have to have some join statement to make them work correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 08:31 AM
Thanks David. To create Database view we might need atleast one common column in both tables.My requirement is SQL join Operation
Is this possible in ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2016 08:39 AM