Skip to main content
Question

SQL Script of MSSQLServer tables creation from Shapefile migration

  • June 28, 2018
  • 4 replies
  • 35 views

Forum|alt.badge.img

Hello community,

I'm storing some shapefiles in a MSSQL Server database.

 

How can I get the SQL script FME used to create the database and populate it from the shapefile ?

Thank you

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • June 28, 2018
Hi @lianaolianov, are you wondering what sort of INSERT statement FME is using to write your shapefiles to your SQL Server database?

Forum|alt.badge.img
Hi @lianaolianov, are you wondering what sort of INSERT statement FME is using to write your shapefiles to your SQL Server database?
Yes exactly

 

 


fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • June 28, 2018

Hi @lianaolianov, thank you for clarifying your question! You can set up a trace on your database that will show you all of the SQL commands that have been sent to it. It's here that you'll be able to see all of the INSERT statements. This might be something that you'll have to ask your DBA to set up for you.


Forum|alt.badge.img

Hi @lianaolianov, thank you for clarifying your question! You can set up a trace on your database that will show you all of the SQL commands that have been sent to it. It's here that you'll be able to see all of the INSERT statements. This might be something that you'll have to ask your DBA to set up for you.

Thank you very much for your answer. It's the first time I hear about this technique. How can I set up it ?