Hi guys,
In Oracle, I am loading some staging data but cleansing them using regular expressions (as part of the retrieval) to make sure our destination tables does not contain duff data. e.g. making sure names are valid
Such constraints seem to be lacking from our data provider and they can reverse my oracle pl/sql code into sql server code since regex is not ANSI.
so whats the best way in SQL Server to determine that the data/column below is incorrect as a name ? :
css_jay99
css_jay
cs?jay
css'jay
cs-ja-y
cheers
In Oracle, I am loading some staging data but cleansing them using regular expressions (as part of the retrieval) to make sure our destination tables does not contain duff data. e.g. making sure names are valid
Such constraints seem to be lacking from our data provider and they can reverse my oracle pl/sql code into sql server code since regex is not ANSI.
so whats the best way in SQL Server to determine that the data/column below is incorrect as a name ? :
css_jay99
css_jay
cs?jay
css'jay
cs-ja-y
cheers
Comment