3
Answers

how to set the default value to the field in a sql table


hi,
can anyone help me,is it able to set the default value as null to the field in a table.by using this query
ALTER
TABLE register
ALTER
column functionalarea SET DEFAULT 'NULL'
i got a error in this query also.can anyone rectify it.
thank you
Answers (3)
1
Amresh S

Amresh S

NA 528 4.1k 8y

Hi All,

Update:

I found the solution myself. The "Properties" property collection have that specified value from the cube. The "MEASUREGROUP_NAME" can be retrived from the below code snippet.

  1. string specifiedKpi=(string)adomd.Properties["MEASUREGROUP_NAME"].Value;

Now, the other part of the use case scenario can be validated as per the requirement.

Regards,

Amresh S.