You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried this tool today with a big mssql database, but ran into some trouble. Perhaps this is a bit out of scope here, because of the size of the database, and it probably includes a whole lot of strange stuff created over many years, but I'll try posting this here in any case.
xo schema mssql://<connectionstring-o models
error: sp_prvigetseriesnew.xo.go:29:174: expected operand, found 'type'
error: 1 errors encountered
Tried with debugging (which I see from the documentation that it drop post processing)
xo schema mssql://<connectionstring-o models
That works. I tried building this, just to see where the error is:
Looks the the variable Type conflicts with the the reserved word type.
After fixing that manually, I got a set a new errors:
models/sp_devmbnpssetfailed.xo.go:33:6: DevMbnpsSetFailed redeclared in this block
models/sp_devmbnpssetfailed.xo.go:21:6: other declaration of DevMbnpsSetFailed
models/sp_prcustomergetraw.xo.go:33:6: PrCustomerGetRaw redeclared in this block
models/sp_prcustomergetraw.xo.go:21:6: other declaration of PrCustomerGetRaw
models/sp_prcontractproductupdatecpcn.xo.go:27:77: error (type) is not an expression
models/sp_prcustomernumberbillingchangealias.xo.go:27:77: error (type) is not an expression
models/sp_prcustomernumberbillingchangenumberinvoice.xo.go:27:77: error (type) is not an expression
models/sp_prcustomernumberbillingchangepricelist.xo.go:27:77: error (type) is not an expression
models/sp_prcustomerupdateaddress.xo.go:27:77: error (type) is not an expression
models/sp_prcustomerupdateaddressnew.xo.go:27:77: error (type) is not an expression
models/sp_prlinkproviderimsisearch.xo.go:27:77: error (type) is not an expression
models/sp_prlinkprovidersimsearch.xo.go:27:77: error (type) is not an expression
models/sp_prlinkprovidersimsearch.xo.go:27:77: too many errors
the file _prcustomernumberbillingchangenumberinvoice.xo.go, errors with the same kind, the reserved word error:
Tried this tool today with a big mssql database, but ran into some trouble. Perhaps this is a bit out of scope here, because of the size of the database, and it probably includes a whole lot of strange stuff created over many years, but I'll try posting this here in any case.
Tried with debugging (which I see from the documentation that it drop post processing)
That works. I tried building this, just to see where the error is:
the file referenced in the error above:
Looks the the variable
Type
conflicts with the the reserved wordtype
.After fixing that manually, I got a set a new errors:
the file
_prcustomernumberbillingchangenumberinvoice.xo.go
, errors with the same kind, the reserved worderror
:the file
sp_devmbnpssetfailed.xo.go
seems to have generated the same contents twice:same goes for the models/sp_prcustomergetraw.x.go
The text was updated successfully, but these errors were encountered: