zimmer9
asked on
How would you create a stored procedure to insert records containing a field that has mulitple values using SQL Server 2005?
I am creating a Stored Procedure to insert records into a table using SQL Server 2005.
I have a table titled tblA with the following 3 fields and the last field titled
ELEMENT_TYPE_VALUE_PAIRS can have mulitple values in it's field:
ID_TYPE PRIN_NAME ELEMENT_TYPE_VALUE_PAIRS
K smithj {(User_Type, Master Access)}
K smithj {{(Holder,holder-1),(Actio n,All)}}
K smithj {{(Holder,holder-2),(Actio n,Update)} }
K cliffr {{(Holder,holder-1),(Actio n,Browse)} }
K cliffr {(User_Type,Security Officer Access)}
How would you create a stored procedure to populate table tblA with the values listed above?
I have a table titled tblA with the following 3 fields and the last field titled
ELEMENT_TYPE_VALUE_PAIRS can have mulitple values in it's field:
ID_TYPE PRIN_NAME ELEMENT_TYPE_VALUE_PAIRS
K smithj {(User_Type, Master Access)}
K smithj {{(Holder,holder-1),(Actio
K smithj {{(Holder,holder-2),(Actio
K cliffr {{(Holder,holder-1),(Actio
K cliffr {(User_Type,Security Officer Access)}
How would you create a stored procedure to populate table tblA with the values listed above?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.