Skip to main content
Question

SQL Script of MSSQLServer tables creation from Shapefile migration


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

4 replies

fmelizard
Safer
Forum|alt.badge.img+18
  • 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
fmelizard wrote:
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+18
  • 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
fmelizard wrote:

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 ?

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings