Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I use placeholders in an SQL statement?

SQLite3/Ruby FAQ
Where n is an integer, and word is an alpha-numeric identifier (or number). When the placeholder is associated with a number, that number identifies the index of the bind variable to replace it with. When it is an identifier, it identifies the name of the correponding bind variable. (In the instance of the first format—a single question mark—the placeholder is assigned a number one greater than the last index used, or 1 if it is the first.
Related Questions

How can I use placeholders?

Pegtop PStart
You can for example run "%windows%\notepad.exe" to execute notepad from any computer, no matter where the Windows folder is located. Placeholders work for path, home directory, icon file and command line parameters. The %pdrive% placeholder is useful for applications which only support absolute paths.
Related Questions

How to convert the datetime into a string for use in the SQL ' statement?

Megasolutions.net :: Asp.Net Frequently Asked Questions - FA...
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Private Sub ddlCulture_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlCulture.SelectedIndexChanged
Related Questions

How To Run a SQL Statement?

MySQL Tutorials and Tips
A collection of 18 tips on managing tables and data rows with PHP scripts. Clear explanations and tutorial exercises are provided on creating and dropping tables; inserting, updating, and deleting rows, selecting and looping through data rows by pages; setting auto-increment IDs.
Related Questions

How do you do the EXPLAIN of a dynamic SQL statement?

CLIENT INTERVIEW QUESTION BANK (MAINFRAME)
Include EXPLAIN command in the embedded dynamic SQL statements 52.How do you simulate the EXPLAIN of an embedded SQL statement in SPUFI/QMF? Give an example with a host variable in WHERE clause.)
Related Questions

Why can't I alias a SQL statement?

Sqsh Home Page
Many users attempt to alias SQL statements or clauses like this: 1> \alias nrows="SELECT COUNT(*) FROM *!" 1> nrows syscolumns; sqsh: Invalid command however it is stated in the manual page that \alias only applies to aliasing other sqsh commands. The above problem can be expressed using environment variables as: 1> \set nrows="SELECT COUNT(*) FROM" 1> $nrows syscolumns; This problem is covered extensively in README.SGI supplied with the sqsh distribution.
Related Questions

Question : How to convert the datetime into a string for use in the SQL ' statement?

ASP.NET 3.5 interview question: 10/1/07 - 11/1/07
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Private Sub ddlCulture_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlCulture.SelectedIndexChanged Answer :You would get this error if the application mappings for ASP.NET file name extensions (such as .aspx) are not configured correctly in Microsoft Internet Information Services (IIS). To resolve this go to C:\Windows Directory\Microsoft.
Related Questions

Can I use Microsoft SQL Server for the database?

SPECjAppServer2004 Frequently Asked Questions
Yes. You can use any relational database that is accessible by JDBC and satisfies the SPECjAppServer2004 Run and Reporting Rules.
Related Questions

I ran an SQL statement and I got an error. What do I do now?

FAQ
When you got the error you got a SQL state code. Type ? and the code to get more information on the error.
Related Questions

I don't have SQL Server. How do I work through the samples that use SQL Server?

Data Access - Windows Forms FAQs
You can use MSDE, a SQL server compatible database engine that MS makes available for free. You can download and install MSDE from a whole variety of sources. Here is one source . MSDE also comes with Visual Studio .NET and the .NET Framework SDK. It... The data source component of your connection string should contain the port right after the IP address (or name). It should be separated from the IP by a comma. data source=192.168.123.1, port_number; Take a look at the connectionstrings.
Related Questions

How many placeholders can I have in a page?

Microsoft Content Management Server 2002 Frequently Asked Qu...
MCMS does not impose any hard-coded restrictions on the number of placeholders or templates you can create on MCMS sites. For the best performance, use less than 20 placeholders per template (assuming that you must allow authoring in your production, or run-time, environment). Performance is always a result of function and design, so define your functional and technical requirements first and then bridge the gap.
Related Questions

Why do placeholders fail to bind, generating unknown datatype error message?

FAQ - The Frequently Asked Questions for DBD::InterBase
You can't bind a field name. The following example will fail: $sth = $dbh->prepare("SELECT (?) FROM $table"); $sth->execute('user_id'); There are cases where placeholders can't be used in conjunction with COLLATE clause, such as this: SELECT * FROM $table WHERE UPPER(author) LIKE UPPER(? COLLATE FR_CA); This deals with the InterBase's SQL parser, not with DBD::InterBase. The driver just passes SQL statements through the engine.
Related Questions

What is a Reserve Statement of Use and when should I use it instead of submitting a syllabus?

UNO | University Library | Help | Frequently Asked Questions...
The Reserve Statement of Use is available for faculty who have incomplete syllabi, concerns about sharing their class syllabi with the library or are requesting reserve service for personal copies only. However, a syllabus is still required for those courses that have materials that require copyright clearance fees.
Related Questions

What do I have to do to have Dada Mail use its SQL backend?

General FAQ
The correct SQL table schemas to use to create both the Subscriber and Archive tables are located at: the above URL also gives more information on how to setup Dada Mail to use the SQL backend - basically, you have to set some of the Config.pm variables - no real surprises.
Related Questions

Can I use a Microsoft SQL Database?

Planhost.com Windows 2003 Web Hosting ASP ASP.NET and FrontP...
Yes! For SQL 2000, please see our SQL 2000 page to order this optional service for only $35 additional per year. You must have some working knowledge of SQL Server 2000. We will not provide you with Enterprise Manager or any other means to connect to your database. You must have your own Microsoft SQL 2000 Enterprise Manager software from Microsoft. There is very limited support for SQL Server 2000. If you just want to use it because you heard it is better, please remain with Microsoft Access.
Related Questions

What does SQL mean and why should I use it?

ECUi - Frequently Asked Questions
The technology behind SQL makes it far superior compared to traditional databases such as Access, Paradox, FoxPro, etc. SQL is faster, more powerful and very fault tolerant.
Related Questions

Is SQL Backup safe to use?

SQL Backup - Frequently asked questions
Yes. Microsoft SQL Server provides standard interfaces to third-party software vendors to perform backups and restores. Most storage software uses this interface to perform database backups and restores (e.g. your tape storage software). SQL Backup uses exactly the same interfaces. It does not use any unpublished features or APIs. We have thoroughly tested SQL Backup, running over 10 million test backups across many databases, varying in size and complexity, and across over 100 platforms.
Related Questions

Why use sql_bind?

SQL_BIND FAQ
Sql_bind allows sysadmins to delegate the responsibility of updating nameserver tables by allowing non-sysadmins to modify databases used by sql_bind. For bind 4.9.x users, it also provides a means of dynamically updating your nameserver tables.
Related Questions

Can we use Access rather than SQL?

Faq - Web Store Solution - Online Business Solution - E-Comm...
Theoretically you could. However, due to the very large quantity of data, we don't believe Access provides the performance that you need, which is why we recommend Microsoft SQL server or MySQL.
Related Questions

How do I use quotes in my SQL queries?

ODBC Socket Server
If you get strange error messages using double-quotes in your SQL queries, just use single quotes. For example: SELECT * FROM authors WHERE name = 'Smith' will work without problems. There are two main areas of the PHP class that can generate errors. If you experience problems using the xml functions, you must compile PHP with XML support (by using the --with-xml configure option).
Related Questions

Can I use SQL function in a BizField?

F.A.Q. | PHPOpenBiz
For example, <BizField Name="FullName" Column="" SQLExpr="CONCAT([FirstName],' ',[LastName])"...>
Related Questions

Which version of SQL Server should I use?

Systems Management Server 2003 Frequently Asked Questions
Systems Management Server 2003 works with SQL Server 7.0 Service Pack (SP) 3 or later. Because of the many improvements in SQL Server 2000, Microsoft recommends using the most recent version with Systems Management Server 2003. Note: If you have an earlier version of Systems Management Server, you must first upgrade to Systems Management Server 2003 before upgrading to SQL Server 7.0.
Related Questions

How can I tell if my SQL statement is using an index?

Nebraska Office of the CIO: Enterprise Computing Services, D...
Do an explain on the statement or program which will give details as to the access path the optimizer has chosen.
Related Questions

How can I find out how many rows were affected by an SQL statement after I have executed it ?

The Oracle (tm) Users' Co-operative FAQ - Index
Is it possible to write a trigger referencing more than one table - I want a trigger to audit a master/detail pair. Is it possible to easily convert existing SQL scripts into a format that cannot be read or altered? This is to improve security on an existing site.
Related Questions

How do I send SQL statement on the command line to the database?

MySQL AB :: MaxDB™ FAQ
If you do not want to use SQL Studio, you can also open an SQL session with the sqlcli tool: sqlcli -u <database_user>,<database_user_password> -d <database_name>, e.g. sqlcli -u MONA,RED -d DEMODB. A complete list of options can be obtained by executing sqlcli -h. # sqlcli -u MONA,RED -d DEMODB Welcome to the MaxDB interactive terminal.
Related Questions

I get an error when I end any SQL statement with a semi colon (;). Why?

Oterro - A High-End Performance Solution For Database Applic...
The semi colon is only used to end a multi-line SQL command. The Oterro engine does not support multi-line commands. All you should need to do if you are accessing a database through an ODBC connection is to replace the database name in the connect string. When using DAO or RDO controls, you would replace the database name with an ODBC connection to the Oterro database.
Related Questions

How can I refer to columns names with spaces in a SQL statement?

ColdFusion FAQ
Use back-ticks to refer to the column names and then alias them so you can refer to them as something else: SELECT 'First Name' AS FirstName, 'Last-Name' AS LastName, PhoneExtension FROM Employees ORDER BY 'Last Name', 'First Name'
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact