Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6807229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:48:22+00:00 2026-05-26T19:48:22+00:00

I have just been assigned an inherited coldfusion project. The developer dropped everything and

  • 0

I have just been assigned an inherited coldfusion project. The developer dropped everything and left. Can someone point me to a good post or explain to me how to connect to a SQL database? I am using coldfusion builder and I have ftp’ed into the files but I am not sure where to create the connection to the database. Does CF builder have a connection wizard?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:48:23+00:00Added an answer on May 26, 2026 at 7:48 pm

    You don’t define ColdFusion connections in code, like in other languages. You define them at the server level, using the ColdFusion Administrator, which is a web-based interface:

    http://yourserver/CFIDE/administrator (you’ll need the password)

    What you’re looking for is the “Datasources” option on the left. The exact parameters you’ll use will vary by database driver of course, but the options should be familiar, if you’ve defined datasources before in languages like PHP or C#.

    Then you create a query like so:

    <cfquery name="myRecordsetName" datasource="myDatasource">
        select somecolumn from sometable
    </cfquery>
    

    (CF 9.0+ you can omit the datasource parameter and define in Application.cfc).

    Then you can work with the recordset in a number of way (loop over output, etc)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found a bunch of scripts in the project I have been newly assigned
I have just been re-working an old bit of compiler-like code written using bison.
I have just been getting into low level programming (reading/writing to memory that sort
I have just been helped on a problem I have here . var win
I have just been involved in writing an application that does not use Doctype's
I have just been looking into Linq with ASP.Net. It is very neat indeed.
OK, I have just been reading and trying for the last hour to import
I work for a web agency and we have just been commissioned to produce
I'm currently using the hilo id generator for my classes but have just been
i have a SQL server database on a server. I have just recently been

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.