Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
CONNECT. TRANSFORM. AUTOMATE.
Beginners Guide to Database
Updating and Deleting
Writing to Databases - Inserts
 Easy to INSERT data
 Automatically INSERTs new data
 Creates a table if it doesn’t exis...
Writing to Databases - Updating/Deleting
 Updating/Deleting existing data isn’t so easy
 Requires multiple parameter set...
New Transformers
 DatabaseUpdater
 Features enter the transformer and it updates
existing features
 DatabaseDeleter
 F...
Formats Supported
 Google Fusion
 Access
 SQL Server
 Oracle
 PostgreSQL/Postgis
 SQL Lite
 Windows Azure
Parameters
 Attributes to Join on
 Where clause option
 Columns to Update
Pros
 Very easy to configure
 Great for relatively simple updates:
 a few feature types
 a small number of fields
 Gr...
Cautions
 No Geodatabase support
 No Transactioning or Commit/Rollback handling
 Not so useful for updating lots of att...
Other Approaches
 Use feature based updates
 fme_db_operation
 fme_where
 See the KnowledgeBase article:
 http://fmep...
Thank You!
 Questions?
 For more information:
 info@safe.com
 www.safe.com
Upcoming SlideShare
Loading in …5
×

Beginners Guide to Database Updating and Deleting

1,351 views

Published on

See more FME World Tour 2014 presentations at www.safe.com/recap2014

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Beginners Guide to Database Updating and Deleting

  1. 1. CONNECT. TRANSFORM. AUTOMATE. Beginners Guide to Database Updating and Deleting
  2. 2. Writing to Databases - Inserts  Easy to INSERT data  Automatically INSERTs new data  Creates a table if it doesn’t exist  Appends to an existing table  Simple settings for:  Drop Table or  Truncate Table
  3. 3. Writing to Databases - Updating/Deleting  Updating/Deleting existing data isn’t so easy  Requires multiple parameter settings  Uses format attributes and writer ‘modes’  Might involve multiple transformers  Can take some effort to get working  Prerequisites to incremental updates…  You need to know which features to insert / update / delete !
  4. 4. New Transformers  DatabaseUpdater  Features enter the transformer and it updates existing features  DatabaseDeleter  Feature(s) enter the transformer and it deletes existing features.
  5. 5. Formats Supported  Google Fusion  Access  SQL Server  Oracle  PostgreSQL/Postgis  SQL Lite  Windows Azure
  6. 6. Parameters  Attributes to Join on  Where clause option  Columns to Update
  7. 7. Pros  Very easy to configure  Great for relatively simple updates:  a few feature types  a small number of fields  Great for deleting based on an attribute value
  8. 8. Cautions  No Geodatabase support  No Transactioning or Commit/Rollback handling  Not so useful for updating lots of attributes  Not appropriate for Dynamic Workflows
  9. 9. Other Approaches  Use feature based updates  fme_db_operation  fme_where  See the KnowledgeBase article:  http://fmepedia.safe.com/articles/How_To/Using- Feature-Based-Attributes-for-Database-updates
  10. 10. Thank You!  Questions?  For more information:  info@safe.com  www.safe.com

×