代码如下: % For Each x In Request.Form % Request.Form( %= x % ) = %= Request.Form(x) % BR % Next % 或 % For i = 1 To Request.Form("inputname").Count Response.Write Request.Form("inputname")(i) & "BR" Next % [ 查看全文 ]
Deleting all data from an Access database Sometimes it may be necessary to delete all the data in a database while retaining the table structure. If done manually, this job can quickly become tedious. If your database has many tables, the following code will clear all the data in a hurry. Dim ctr As Container, doc As Document, db As Database Set db = CurrentDB() Set ctr ...[ 查看全文 ]
--取得所有数据库名 包括系统数据库 --SELECT name FROM master.dbo.sysdatabases --取得所有非系统数据库名 --select [name] from master.dbo.sysdatabases where DBId6 Order By [Name] --取所有信息,包括数据库文件地址 --select * from master.dbo.sysdatabases where DBId6 Order By [Name] [ 查看全文 ]