/dev/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/dev/trunk

« back to all changes in this revision

Viewing changes to docs/databases/tds.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2008-04-02 10:23:22 UTC
  • Revision ID: csa@dside.dyndns.org-20080402102322-okib92sicg2dx3o3
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Checking Connection
 
2
===================
 
3
 tsql -H 192.168.8.6 -p 1433  -U souren -P '$souren$' 
 
4
 
 
5
    SELECT zeit FROM IPEProfibusPXIDevice1
 
6
    GO
 
7
 
 
8
Adding ODBC source
 
9
===================
 
10
# odbcinst -i -d -f tds.driver.template 
 
11
# odbcinst -i -l -s -f tds.mssql_source.template
 
12
 
 
13
PDO Connection
 
14
==============
 
15
 * Trough data source
 
16
    $dbh = new PDO("odbc:labview", "souren", '$souren$');
 
17
 * Passing server information