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?
Connect to SQL DataBase in coldfusion builder
2.3k Views Asked by Tim Joyce At
1
There are 1 best solutions below
Related Questions in SQL-SERVER
- SQL server not returning all rows
- Big data with spatial queries/indexing
- Conditional null constraint on Null
- SQL Query - Order by String (which contains number and chars)
- Optimising a slow running SQL Server Stored procedure ordered by calculated fields to return a closest match
- Dynamics CRM Publishing Customizations - Multi Developers
- Is there anyway to set the relationship of many tables from Model?
- Implementation of Rank and Dense Rank in MySQL
- ORM Code First versa Database First in Production
- MVC : Insert data to two tables
- Data streams in case of Merge
- table with multiple IDs but seperate notes need sorting (Tried SQL code to make a union query)
- SQL table Partitioning by Year with ColumnStore index implemented on the table
- Defining which network to use for SQL Server 2012 Management Studio
- Fill a week days in a table with preceding Sundays value
Related Questions in COLDFUSION
- CSV(having extra quotes in field value) to array in ColdFusion
- using some technique to fix the url
- Get number of files in various subdirectories relative to the current page - ColdFusion
- How to create a "VALID DOCX" using Coldfusion?
- Twilio Rest API Filtering using Coldfusion11
- Encoding for html in Open Graph Facebook attributes
- Embedding Image in Microsoft Word using ColdFusion
- CFMail with attachment is being sent and is in undelivr folder
- Error while Running a .exe file using coldfusion schedule task
- Coldfusion 9 serializeJSON()
- How to filter query results based on selection from dropdown list
- Display single digits with leading zero
- Coldfusion Session Timeout Application.cfc
- CFEXECUTE seems to not execute PowerShell in ColdFusion 11
- Joining SOLR Collections on ColdFusion Server
Related Questions in COLDFUSIONBUILDER
- Coldfusion Builder Snippets repository
- Coldfusion Builder 3 Coldfusion 11 Display page in Browser
- How to configure SVN with ColdFusion Builder?
- Does ColdFusion Builder have a format document feature?
- cfBuilder - working with javascript, CSS, HTML etc
- Identify Unlinked Pages - ColdFusion Builder
- Tiny icons in Navigator tab in CF Builder 2018
- Install ColdFusion Builder 2 Update 1 Plug-in in Eclipse 4.3
- Associating a custom preview URL with a .cfm file in ColdFusion Builder (Eclipse)
- ColdFusion Builder throwing an error about my open project
- Are there any dark themes (like Zenburn) for Coldfusion Builder?
- How to Format Text in Eclipse with cfeclipse plug-in
- Does ColdFusion Builder have split screen editing like Homesite+, and how do I turn it on?
- How do I turn off Tab and New Line markers in Eclipse?
- How to import ColdFusion project into Eclipse ColdFusion Builder?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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:
(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)