Skip to main content
Solved

Add new field to SQL table

  • February 12, 2021
  • 2 replies
  • 54 views

markcoopersdc
Contributor
Forum|alt.badge.img+6

Hi

I need to add a field to a SQL table as the schema has changed. However, all the instructions indicate I need to drop the table. As there is data in there already, I cannot do this. Is there a way to add the column in FME, or should I just go into SQL Server Management Studio?

Best answer by markatsafe

@markcoopersdc​ It's probably easier to run your ALTER TABLE in SQL Server Management Studio, but you could trigger ALTER TABLE using the SQLExecutor if you wanted.

View original
Did this help you find an answer to your question?

2 replies

Forum|alt.badge.img+2
  • Best Answer
  • February 12, 2021

@markcoopersdc​ It's probably easier to run your ALTER TABLE in SQL Server Management Studio, but you could trigger ALTER TABLE using the SQLExecutor if you wanted.


markcoopersdc
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • February 16, 2021

Thank you, I didn't think of using the SQLExecutor but, as you say, I think it is easier to run it in SQL Server Management Studio


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