M
MyMel
I have a table with 30 fields, I need to query each field for 3 different
responses and place the results into a table.
1. Check for non-unique.
2. Check for NULL count
3. Perform unique value count
I was told that this task could be performed using a case statements. By
assigning each field a case number.
Case 1
ACCT_ID
Case 2
ALT_ACCT
Case 3
TYPE_CD
Case 4
CUST_NAME
Case 5
CUST_TYPE_CD
I though about running the first query through the fields output to a table
then follow through with the next query. My problem is I cannot figure out
how to do this or if this is the best way. Help, please!!
responses and place the results into a table.
1. Check for non-unique.
2. Check for NULL count
3. Perform unique value count
I was told that this task could be performed using a case statements. By
assigning each field a case number.
Case 1
ACCT_ID
Case 2
ALT_ACCT
Case 3
TYPE_CD
Case 4
CUST_NAME
Case 5
CUST_TYPE_CD
I though about running the first query through the fields output to a table
then follow through with the next query. My problem is I cannot figure out
how to do this or if this is the best way. Help, please!!