microsoft / microsoft/sqlmanagementobjects
Using SMO to extract the External Sources Information from Synapse SQL Serverless
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 143
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to script the Synapse SQL Serverless objects and mainly External Sources objects. Which mainly consist of External File Format and External Data Sources.
Is it possible ?
$scrp.Script($dbs["stg"].ExternalDataSources)
Multiple ambiguous overloads found for "Script" and the argument count: "1".
At line:1 char:1
- $scrp.Script($dbs["stg"].ExternalDataSources)
-
+ CategoryInfo : NotSpecified: (:) [], MethodException + FullyQualifiedErrorId : MethodCountCouldNotFindBest
script function doesn't work with external data source. Is there another way to script it ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the $scrp.Script($dbs["stg"].ExternalDataSources) call against Synapse SQL Serverless and review how External Data Sources and External File Formats are handled. Done means these objects can be scripted without the ambiguous-overload error, with the supported approach documented or covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100