Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<CFTRY>
<CFQUERY name="myquery" datasource="mydsn">
SELECT foobar from MYTABLE
</CFQUERY>
<CFCATCH TYPE="database">
<CFOUTPUT>
<P><B>DATABASE ERROR</B><BR />
<UL>
<LI><B>Message:</B> #CFCATCH.Message#
<LI><B>Native error code:</B> #CFCATCH.NativeErrorCode#
<LI><B>SQLState:</B> #CFCATCH.SQLState#
<LI><B>Detail:</B> #CFCATCH.Detail#
</UL>
</CFOUTPUT>
</CFCATCH>
</CFTRY>