You need to sign in to do that
Don't have an account?
nikoo.malek1.3927635000918623E12
Using Store procedure to call API
I wonder instead of using select statement like this to work with sales force Api:
SOQL = "select AuthorId,Name, Description,Type from Document";
Is there any way that can use store procedure?
SOQL = "select AuthorId,Name, Description,Type from Document";
Is there any way that can use store procedure?
Can it be done without a SELECT anywhere? No.
SOQL = "select AuthorId,Name, Description,Type from Document";
can I use store procedure something similar to this:
using (SqlConnection conn = new SqlConnection(DataConnection.ConnectionString))
{
conn.Open();
SqlCommand cmd = new SqlCommand("Insert_tbl_Webhook", conn);
cmd.CommandType = CommandType.StoredProcedure;
SqlParameter NewID = new SqlParameter("@id", 0);
NewID.Direction = ParameterDirection.Output;
cmd.Parameters.Add(NewID);
cmd.Parameters.Add(new SqlParameter("@event",webhook.@event));
....
I know I don't have SQL connection and all of this here I wanted to know what would be equivalent to this in sales force if I wanted to use store procedure?