Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
5 subscribers
Views
1968 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
#ExecuteStoreProcedure #MSSQL, How can i pass cdt as an input to Execute Store P
Pankaj Kabdal
Certified Senior Developer
over 7 years ago
#ExecuteStoreProcedure #MSSQL, How can i pass cdt as an input to Execute Store Procedure Smart Service, i am using MSSQL User Defined Table Type as input variable in SP, i am using the same structure in MSSQL and cdt but not able to do so.
OriginalPostID-224668
OriginalPostID-224668
Discussion posts and replies are publicly visible
0
bhanuprakashm
over 7 years ago
Hi pankaj,
As per my knowledge. You can not pass the cdt as parameter to Stored procedure .. Why becz there is no input type cdt in db.. Even if u r pass it takes as string type not as cdt type..
You can do one thing , pass the id or any unique column to Sp and fetech all column and do your funtionality..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Pankaj Kabdal
Certified Senior Developer
over 7 years ago
Thanks Bhanu, we have a requirement where we need to paas cdt(multiple) as input to create records in DB, we dont want to use write data service, there is user Defined Table Type variables in MSSQL DB which can handle like cdt with multiple records.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
@pankajk It might be worth taking a look at an approach where the multiple cdt is passed as an xml string to SP and the the SP parses the xml string in its body.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel