Skip to content

Database

Discussions on database access, SQL, and ADO

This category can be followed from the open social web via the handle database@forum.codeproject.com

17.1k Topics 61.8k Posts
  • Creating Database with ADO

    database help
    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Creating Database with ADO

    database help
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • SQL Server Identity field

    database sql-server sysadmin tutorial
    3
    0 Votes
    3 Posts
    12 Views
    L
    At any time, only one table in a session can have the IDENTITY_INSERT property set to ON. If a table already has this property set to ON, and a SET IDENTITY_INSERT ON statement is issued for another table, Microsoft® SQL Server™ returns an error message that states SET IDENTITY_INSERT is already ON and reports the table it is set ON for. If the value inserted is larger than the current identity value for the table, SQL Server automatically uses the new inserted value as the current identity value. The setting of SET IDENTITY_INSERT is set at execute or run time and not at parse time. :|
  • returning the primarykey from the last modified record

    help
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Why can't I set a connectionString?

    help question workspace
    2
    0 Votes
    2 Posts
    12 Views
    L
    Have you double-checked the UDL-files contents? Try using the UDL on a clean connection object: Dim cnn As New ADODB.Connection cnn.Open "File Name=c:\test\file.udl"
  • New ADO.NET Article

    csharp com
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Looking for young SQL programmer

    database com
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • What database type to choose?

    database question csharp php business
    2
    0 Votes
    2 Posts
    12 Views
    A
    Take a look at http://download.microsoft.com/download/vc60pro/sample/1/WIN98/EN-US/Adovc1.exe It's a simple sample using the #import directive, which makes it pretty easy to use ADO to do all the stuff you want... Simply include MDAC in your setup's, it can be downloaded from http://www.microsoft.com/data/ All database drivers are included in MDAC, so as long as you are using Access databases or SQL Server, you know the drivers are there... Hope this helps. - Anders
  • 0 Votes
    2 Posts
    9 Views
    A
    Just chage the client on both machines to use TCP instead of Named Pipes and the problem is gone :) (I hope) Well, at least, if the errormessages is something about a "Overlapped Result" it works... - Anders