CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: DataMiser

Search: Search took 0.23 seconds.

  1. Replies
    8
    Views
    3,594

    Re: How to run a very long SQL statement

    Try it and see

    To much there to read and analyze.

    I still think you would be better calling a stored procedure rather than trying to do all that in one string.

    Edit: one thing I do notice...
  2. Replies
    8
    Views
    3,594

    Re: How to run a very long SQL statement

    Would be better to create a stored procedure and execute it from VB

    To answer your question you would have to build it like you do the one in the top example


    strSQL="SELECT TOP 1 "...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured