sql - Restrict column name changes/creation to not allow specific characters -


currently characters used in column names break external programs, i'm looking way restrict specific characters ("." "_" etc) being used, either creation of new columns, or editing existing ones.

for example, if user tried create column "random_info", automatically rename "randominfo", , same goes editing existing column: remove offending characters before change made.

the issue might create duplicate columns, i'm not sure best course of action handle though.

it seems triggers might need, i've got them working editing actual content of columns, not change column name itself.

a bit stuck on 1 , google has failed me, i've provided enough information give answer here!


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -