none
Логи в MS SQL 2005 через VBS RRS feed

Ответы

  • рабочий пример.

    Code Snippet

    Set conn = CreateObject("ADODB.Connection")
    Set records = CreateObject("ADODB.Recordset")

    connString = "Net=dbmssocn;Provider=SQLOLEDB;Data Source=" & sqlServer & ";Initial Catalog=BAZA;User ID=" & sqlUser & ";Password=" & sqlPass
    conn.Open connString
    records.ActiveConnection = conn
    sqlString = "INSERT INTO ...
    records.Open sqlString
    conn.Close

     

     

    12 августа 2008 г. 9:51