home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2001 Ek…a Alt Til Din Hjemmeside / K-CD_2001_Ekstra_Alt_til_din_hjemmeside.iso / WINDOWS / MSDFMAP.INI < prev   
INI File  |  1999-01-12  |  1KB  |  42 lines

  1. ;[connect name] will modify the connection if ADC.connect="name"
  2. ;[connect default] will modify the connection if name is not found
  3. ;[sql name] will modify the Sql if ADC.sql="name(args)"
  4. ;[sql default] will modify the Sql if name is not found
  5. ;Override strings: Connect, UserId, Password, Sql.
  6. ;Only the Sql strings support parameters using "?"
  7. ;The override strings must not equal "" or they are ignored
  8. ;A Sql entry must exist in each sql section or the section is ignored
  9. ;An Access entry must exist in each connect section or the section is ignored
  10. ;Access=NoAccess
  11. ;Access=ReadOnly
  12. ;Access=ReadWrite
  13. ;[userlist name] allows specific users to have special access
  14. ;The Access is computed as follows:
  15. ;  (1) First take the access of the connect section.
  16. ;  (2) If a user entry is found, it will override.
  17.  
  18. [connect default]
  19. ;If we want to disable unknown connect values, we set Access to NoAccess
  20. Access=NoAccess
  21.  
  22. [sql default]
  23. ;If we want to disable unknown sql values, we set Sql to an invalid query.
  24. Sql=" "
  25.  
  26. [connect CustomerDatabase]
  27. Access=ReadWrite
  28. Connect="DSN=AdvWorks"
  29.  
  30. [sql CustomerById]
  31. Sql="SELECT * FROM Customers WHERE CustomerID = ?"
  32.  
  33. [connect AuthorDatabase]
  34. Access=ReadOnly
  35. Connect="DSN=MyLibraryInfo;UID=MyUserID;PWD=MyPassword"
  36.  
  37. [userlist AuthorDatabase]
  38. Administrator=ReadWrite
  39.  
  40. [sql AuthorById]
  41. Sql="SELECT * FROM Authors WHERE au_id = ?"
  42.