<HTML ><HEAD ><TITLE >mssql_free_statement</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="Microsoft SQL Server functions" HREF="ref.mssql.html"><LINK REL="PREVIOUS" TITLE="mssql_free_result" HREF="function.mssql-free-result.html"><LINK REL="NEXT" TITLE="mssql_get_last_message" HREF="function.mssql-get-last-message.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.mssql-free-result.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.mssql-get-last-message.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.mssql-free-statement" ></A >mssql_free_statement</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN52119" ></A ><P > (PHP 5 CVS only)</P >mssql_free_statement -- Free statement memory</DIV ><DIV CLASS="refsect1" ><A NAME="AEN52122" ></A ><H2 >Description</H2 >int <B CLASS="methodname" >mssql_free_statement</B > ( int statement)<BR ></BR ><P > <B CLASS="function" >mssql_free_statement()</B > only needs to be called if you are worried about using too much memory while your script is running. All statement memory will automatically be freed when the script ends. You may call <B CLASS="function" >mssql_free_statement()</B > with the statement identifier as an argument and the associated statement memory will be freed. </P ><P > See also <A HREF="function.mssql-bind.html" ><B CLASS="function" >mssql_bind()</B ></A >, <A HREF="function.mssql-execute.html" ><B CLASS="function" >mssql_execute()</B ></A > and <A HREF="function.mssql-init.html" ><B CLASS="function" >mssql_init()</B ></A > </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.mssql-free-result.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.mssql-get-last-message.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >mssql_free_result</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.mssql.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >mssql_get_last_message</TD ></TR ></TABLE ></DIV ></BODY ></HTML >