Skip to main content
Question

One Off SQL Sync


Zacs

I am looking at syncing data from an SQL table to Zendesk. I want all current info synced initially and then i will create a subsequent Sync for any changes of new info.

 

Is the initial full sync possible?  

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • April 19, 2023

Welcome to the Community, @Zacs. Thanks for joining us! 🙂

It sounds like you’re wanting to do a bulk transfer of data from SQL Server to Zendesk, am I right?

If so, you could try using our Transfer feature to do a bulk import of the data from the SQL table into Zendesk. The SQL Server app is on the list of supported source apps for transfer so it should work: Which apps does Transfer support?

You can find out more about how to use Transfer here: 


Hope that helps. Keen to make sure you’re all set here so please keep us updated on how you get on!


Zacs
  • Beginner
  • May 4, 2023

I am trying to set a transfer up. When it asks for my SQL query it input the below:

 

SELECT TOP (5000) [Customer No]
      ,[Customer Name]
      ,[Full Address]
      ,[Phone No_]
      ,[Shipping Agent Code]
      ,[Shipping Agent Service Code 2]
      ,[Service Code]
      ,[Channel 1 Code]
      ,[Channel 2 Code]
      ,[Salesperson Code]
      ,[Name]
      ,[Customer Alert]
      ,[E-Mail]
      ,[Domain]
FROM [dbo].[zendesk_customer_data]

I get this error:

Error during execution: (pyodbc.ProgrammingError) ('42S22', "[42S22] [FreeTDS][SQL Server]Invalid column name 'id'. (207) (SQLExecDirectW)") [SQL: SELECT TOP (100) "Customer No", "Customer Name", "Full Address", "Phone No_", "Shipping Agent Code", "Shipping Agent Service Code 2", "Service Code", "Channel 1 Code", "Channel 2 Code", "Salesperson Code", Name, "Customer Alert", "E-Mail", Domain FROM dbo.zendesk_customer_data ORDER BY dbo.zendesk_customer_data.id ASC] (Background on this error at: https://sqlalche.me/e/14/f405)

Any help would be appreciated


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • May 5, 2023

Hi there @Zacs,

I noticed that you've already got a ticket open with one of our Support Specialists. That's great! I suggest you continue the conversation there, so they can take a closer look at the backend of the logs and get to the root of the error.

Thanks for your cooperation and understanding. 😊