CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Location
    Mumbai, Maharashtra INDIA
    Posts
    20

    SQL Query Early Validation

    Hi GUys,

    Does DOT NET framework (ADO.NET) provides a way for Early SQL validation? i.e. when we write the SQL in code usinlg ASQL command object or by any other means, it should perform syntactic validations
    V.V.Sankhe

  2. #2
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: SQL Query Early Validation

    I don't think ADO.NET does the syntax validation for the queries written directly in .NET.

    I would suggest using Stored Procedures or parametrized queries for querying database. It would be easier and faster compared to the T-SQL that we write.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured