Results 1 to 13 of 13

Thread: Separate Code from SQL queries.

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    Separate Code from SQL queries.

    Hi, i have been building my application with SQL queries mixed with the code.
    recently i got a challenge. i recieved .sql files(MS SQL Server Query Files) that had queries to CREATE table and INSERT data SQL statements in them. i am meant to write code(for some stand alone app) and use them as they are. i was instructed to also separate my SQL queries and the code.

    i dont know where to start since i have been using client/server architecture. with a connection string to the server.
    How can i go about this? is there a document/tutorial some where i can read?
    Attached herewith is some of the .sql files. take a look, to get a good pictute.

    Thanks
    Attached Files Attached Files

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