% '============================================================== ' TableEditoR 0.81 Beta ' http://www.2enetworx.com/dev/projects/tableeditor.asp '-------------------------------------------------------------- ' File: te_tableremove.asp ' Description: Drops the given table ' Initiated By Hakan Eskici on Nov 17, 2000 '-------------------------------------------------------------- ' Copyright (c) 2002, 2eNetWorX/dev. ' ' TableEditoR is distributed with General Public License. ' Any derivatives of this software must remain OpenSource and ' must be distributed at no charge. ' (See license.txt for additional information) ' ' See Credits.txt for the list of contributors. ' ' Change Log: '-------------------------------------------------------------- '============================================================== %> <% lConnID = request("cid") sTableName = request("tablename") OpenRS arrConn(lConnID) 'Check if the user approved delete and has permissions to delete if (request("sure") <> "") and bFldDel then sSQL = "DROP TABLE [" & sTableName & "]" conn.execute sSQL response.redirect "te_listtables.asp?cid=" & lConnID end if conn.close set rs=nothing set conn=nothing %>
| Home » Connections » "><%=arrDesc(request("cid"))%> » Remove Table | <% if bProtected then response.write session("teFullName") response.write " (logout)" end if %> |
<%=sErr%>Are you sure that you want to remove the table "<%=sTableName%>"?
Yes ">No