All Questions

48
votes
1answers
79623 views

Syntax error due to using a reserved word as a table or column name in MySQL

I'm trying to execute a simple MySQL query as below: INSERT INTO user_details (username, location, key) VALUES ('Tim', 'Florida', 42) But I'm getting the following error: You have an error in y...
98
votes
5answers
87619 views

How do I escape a reserved word in Oracle?

In TSQL I could use something like Select [table] from tablename to select a column named "table". How do I do this for reserved words in oracle? Edit: I've tried square braces, double quotes, sing...
143
votes
10answers
57892 views

Reserved keywords in JavaScript

What JavaScript keywords (function names, variables, etc) are reserved?
22
votes
1answers
11868 views

Automatic reserved word escaping for Hibernate tables and columns

I am trying to use one Hibernate mapping for several different databases: H2, Oracle, MySql. Each database has a different list of reserved words. I would like Hibernate to automatically escape the ...
467
votes
7answers
214541 views

What is the equivalent of Java's final in C#?

What is the equivalent of Java's final in C#?
27
votes
3answers
46638 views

SQL error: Incorrect syntax near the keyword 'User'

I am using SQL to insert data to SQL Database file using C# as follows. String cs = System.Configuration.ConfigurationManager.ConnectionStrings["connection1"].ConnectionString; SqlConnection ...
31
votes
4answers
20273 views

using reserved words as property names, revisited

Can a reserved word be used as an object's property name? This issue was raised in indirectly previous a stackoverflow question. the answer seemed general consensus by @Squeegy: You can use those wo...
11
votes
3answers
2855 views

Is "remove" a reserved keyword in Google Chrome?

I have an interesting problem, and I think I got to the root of it, but I wanted to be sure. I have a link that calls a function called remove(). All browsers except Chrome had no issues with the fu...
4
votes
2answers
2996 views

H2 database column name "GROUP" is a reserved word

How do I create a table in H2 with a column named GROUP? I saw an example that used something like [*] a while ago, but I can't seem to find it.

Previous Next