ColdFusion Code:
<cfstoredproc procedure="pr_get_LoggedUser_Info" datasource="#Application.CDP_DSN#">
<cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" value="#rsCF_Client_ID.CID#" null="No">
<cfprocresult name="rsCF_Client">
</cfstoredproc>
<cfoutput>#rsCF_Client.DistrictA#</cfoutput>
SQL Procedure Code:
SELECT ct.ConType_Abbr,
Ltrim(Rtrim(c.FirstName)) AS FirstName,
Ltrim(Rtrim(c.LastName)) AS LastName,
c.CompanyName,
c.Address,
c.Address2,
c.City,
c.State,
c.Zip,
c.EmailAddress,
ct.ContactType
FROM cdp_Contacts c, cdp_ContactTypes ct
WHERE c.ContactType_ID = ct.ContactType_ID
AND c.Contact_ID = @Logged_CID
SELECT Contact_ID,
CompanyName AS DistrictA
FROM cdp_Contacts
WHERE Contact_ID = 23318
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE