Hello everyone,
I'm a brand new EasyMorph user testing it's capabilities - but I have a requirement that is quite specific.
I have an existing Microsoft SQL Server solution which contains a table with a column which has been populated with undefined data and therefore has a nvarchar(MAX) column data type assigned.
The current process runs iteratively using the 'TRY_CAST' function against the column to assess what the most likely data content is from the results:
|Try_Cast Iteration Number | Try_Cast Iteration Type | Pass % | Fail %|
|--- | --- | --- | ---|
|1 | UniqueIdentifier | 0% | 100%|
|2 | DateTime | 0% | 100%|
|3 | Date | 0% | 100%|
|4 | Integer | 7% | 93%|
|5 | Money | 12% | 88%|
|6 | Float | 95% | 5%|
We're moving away from MS SQL Server solution to PostgreSQL where the TRY_CAST function is unavailable - so I can't just replicate that.
I wondered if anyone could suggest any similar functionality available in EasyMorph to allow me to 'test' the content of a column to work out the most appropriate data type for that column?
Any help / advise is very much appreciated.
Kind regards,
Richard.