Hi all
Just testing SQL db for first time in PA and I got few questions
1/ Primary key (set data type to int., is identity true, increment 1)
Is this save way to prevent duplicates in primary key column? Does anyone test it in multi user- multi device app?
2/ Unique index column
Just test that but it looks a bit dangerous to me. Once I tried to add same value in unique column it just error out my patch code in PA. I was hoping for some error message or at least insert nothing.I know I can prevent duplicate in PA but question is: is it worth using it? Or are you using it?
3/ Date data
Just tested the date data type column. I have insert date with Today() with no problem. Today date is inserted in SQL table but no matter what I do or format it in PA I get blank label. What a shame... So what data type do you use for dates or times in sql?