Partner
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
11-07-2023
11:49 AM
Status:
New
We have a client that has tables split by month (TranSale202301, TranSale202302, TranSale202303, etc.) They only want to keep the last 25 months of data (so 25 tables). We would like to be able to do this dynamically but the current SQL does not allow it. We tried an MV with jdbc connection but the sql server uses a data agent and from what we know, spark cannot utilize the data agent.
INC_03131301: Failed to load data from [xxxxx] with properties [[database, sqlserver], [connectionPool, 30], [connection, jdbc:sqlserver://xxxx:xxxx;databaseName=xxxx;]] due to [Incorrect syntax near the keyword 'DECLARE'.]
See more ideas labeled with:
2 Comments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.