reserved-words

Do you check your field- and table names against reserved word lists ?

I've sometimes had a problem with my field-, table-, view- oder stored procedure names. Example: SELECT from, to, rate FROM Table1 The Problem is that from is a reserved word in SQL-92. You could put the fieldname in double quotes to fix this, but what if some other db tools wants to read your database? It is your database design a...

Command line reserved tokens

When building an application with a CLI, it is useful to avoid using tokens that are commonly used for shell features. For example, | is used for piping output of one application to input of the next. Please supply a complete list of tokens that would need to be escaped to be used? As a minimum/summary, for each token, please identify...

Reserved words as variable or method names

Is there any tricky way to use Java reserved words as variable or method names? ...

Is Accreditation a reserved word ?

Using Subsonic 2.2 latest SVN. SQL Server 2008 table has a column called Accreditation The Subsonic generated property for this column is named AccreditationX Can anybody tell me why ? ...

How can I change SOAP element names to reserved words in Delphi?

I use this line to register a class with the Delphi registry for Soap elements: RemClassRegistry.RegisterXSClass(ToHeader, ADD_URI); In the Soap request message, I see this: <NS1:ToHeader> ... </NS1:ToHeader> Is it possible to change the class registration so that it renders the element with a different name, like: <NS1:To> ... ...

SOAPpy - reserved word in named parameter list

I'm using SOAPpy to access a SOAP Webservice. This call to the function findPathwaysByText works just fine: server.findPathwaysByText (query= 'WP619', species = 'Mus musculus') However, this call to the function login does not: server.login (user='amarillion', pass='*****') Because pass is a reserved word, python won't run this. Is...

What's the difference between "keyword" and "reserved word"?

What's the difference between keyword and reserved word? Fore example in the concepts' proposal one can read the following statement This proposal introduces five new keywords: concept, concept map, where, axiom, and late check. All of these keywords will also be reserved words. ...

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, single quotes, and backquotes, they don't work... As a further clarification, I have a column which someone named comment. As this is a reser...

Is MonthName a reserved word in SQL 2008

I am creating a table that has a column called MonthName. When I defined this column the word "MonthName" showed up in blue like it was a reserved word. So I tried to look it up. I cannot find it in Books Online or on Microsoft's site or even on our own SO. I tried sp_help "monthname" and the reply was "The Object 'monthname' does not ...

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

What is the equivalent of Java's final in C#? EDIT: Sorry, I should have been clearer. I meant what is the equivalent when applied to a member variable - so it must be assigned once and only once. ...

Is there a list of reserved FlashVars names?

Currently I work on localization for a Flex application. From an article I know that you can control the localization with the following FlashVars: resourceModuleURLs localeChain Are there any other FlashVars reserved by Adobe that a Flash/Flex Developer should know about? ...

Using illegal names in MySQL through SQLObject

How to use illegal names for MySQL with SQLObject? In pure SQL it is possible to use backquotes, say: SELECT `select from` FROM table1 WHERE 1; ...can be used to select the field called select from. Is it possible to tell SQLObject to utilize backquotes? ...

Really Weird ASP.Net Reserved Request.Form key name

I seem to have stumbled across a really weird issue when posting a static HTML page to an ASP.NET page: Example: <form action="Kiosk.aspx" method="post"> <input type="hidden" id="key" name="key" value="1234" /> <input type="hidden" id="action" name="action" value="download" /> <input id="btnGo" type="submit" value="Download" /> </for...

Is 'event' a reserved word in JavaScript?

Hi, I am a beginner to Javascript. And when I was practicing I have noticed something. Take this function: <script type="text/javascript"> function showChar(sSomeData, oEvent) { alert (oEvent.keyCode); return true; } </script> When I call this function as this: <input type="text" id="txtTextBox" onkeypress="...

How do you escape a reserved word in Delphi?

I need to Escape a reserved word to use it as an identifier in Delphi. I thought that was accomplished by using the ampersand "&", but that doesn't seem to be working right. Any other suggestions? ...

Variable name taken by keyword -- your examples?

Have there been any cases where you wanted to use a word as a variable/function name, but couldn't because it was a reserved word in your language? The ones that crop up over and over again for me are in and out in C#... Those would be great names for streams, but I'm always forced to use inn and outt instead. EDIT: I'm not asking ab...

How can I best avoid using reserved or key words in my language or framework?

Naming things is hard. When naming my classes, variables, and methods I strive to avoid collisions with reserved words or keywords in my languages (MSSQL, VB.NET or C#, HTML, CSS, jQuery) and framework (.NET). Too often I make mistakes and don't realize it until it's too late to easily go back and rename. A scenario: (1) first create ...

Trying to make a CodeIgniter controller called "List"

Hi I have the following code in controllers/list.php: <?php class List extends Controller { function index() { echo "hi"; } } ?> However, trying to access it gives me the following PHP error: Parse error: syntax error, unexpected T_LIST, expecting T_STRING in /var/www/whimventory/htdocs/system/application/contro...

use reserved rails word in scaffolding

Hi all, I'm new to rails, but not to programming. I'm trying to create a Case Management app, I'm running the command ruby script/generate scaffold Case casename:string caseid:string This works fine, however because Case is a reserved word I'm getting errors when trying to view localhost:3000/Cases Is there anyway around this or do ...

Is it possible to "escape" a method name in PHP, to be able to have a method name that clashes with a reserved keyword?

I'm doing MVC in PHP, and i'd like to have a list() method inside my Controller, to have the URL /entity/list/parent_id, to show all the "x" that belong to that parent. However, I can't have a method called list(), since it's a PHP reserved keyword. In VB.Net, for example, if I need to have something with a name that clashes with a res...