<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Database reserved keywords -- tfileproperties in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Database-reserved-keywords-tfileproperties/m-p/2258186#M40065</link>
    <description>Hi, 
&lt;BR /&gt;I am using the tFileList, tFileProperties and tOracleOutput to store the file statistics of all the files I am processing. What I have noticed is that when the table is created for the first time, one of the columns called "size" is actually an Oracle Keyword. The Built-in default schema provided by Talend has a column named "size", which is an Oracle keyword and hence has to be in double quotations (" ") while creating the table. So basically you will have to create a table as follows in Oracle. 
&lt;BR /&gt;CREATE TABLE TALEND_FILE_STATS 
&lt;BR /&gt;( 
&lt;BR /&gt; ABS_PATH VARCHAR2(4000 BYTE), 
&lt;BR /&gt; DIRNAME VARCHAR2(4000 BYTE), 
&lt;BR /&gt; BASENAME VARCHAR2(4000 BYTE), 
&lt;BR /&gt; MODE_STRING VARCHAR2(100 BYTE), 
&lt;BR /&gt; "size" NUMBER(20), 
&lt;BR /&gt; MTIME NUMBER(20), 
&lt;BR /&gt; MTIME_STRING VARCHAR2(30 BYTE) 
&lt;BR /&gt;) 
&lt;BR /&gt;ORACLE RESERVED KEYWORDS URL 
&lt;BR /&gt; 
&lt;A href="http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14354/appb.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14354/appb.htm&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;While writing queries, for example you will have to say something like this. 
&lt;BR /&gt;Select ABS_PATH, "size" from talend_file_stats ------this query will work 
&lt;BR /&gt;Select ABS_PATH, size from talend_file_stats ------this query will not work because now the column "size" is a keyword and hence you will have to use double quotations. When ever you use double quotations to name a table or a column while creating a table in Oracle, you will have to use double quotation in your queries also because Oracle will not recognize either the table or the column if not in double quotation. 
&lt;BR /&gt;Oracle will throw an ORA error 00900 
&lt;BR /&gt;---------------------------------------------------------------------- 
&lt;BR /&gt;invalid SQL statement 
&lt;BR /&gt;Cause: The statement is not recognized as a valid SQL statement. This error can occur if the Procedural Option is not installed and a SQL statement is issued that requires this option (for example, a CREATE PROCEDURE statement). You can determine if the Procedural Option is installed by starting SQL*Plus. If the PL/SQL banner is not displayed, then the option is not installed. 
&lt;BR /&gt;Action: Correct the syntax or install the Procedural Option. 
&lt;BR /&gt;------------------------------------------------------------------------ 
&lt;BR /&gt;There is no problem doing this, but my suggestion would be to make sure that your developers are given a list of all the keywords in all database which should not be used for naming the columns for all you default Built-In schemas. For example, if the "size" column is named to something like FILESIZE which is probably not a keyword in any of the databases that would reduce a lot of troubleshooting problems for all your Clients using Talend. 
&lt;BR /&gt;Thank you, 
&lt;BR /&gt;Santhosh.</description>
    <pubDate>Sat, 16 Nov 2024 12:57:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:57:09Z</dc:date>
    <item>
      <title>Database reserved keywords -- tfileproperties</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-reserved-keywords-tfileproperties/m-p/2258186#M40065</link>
      <description>Hi, 
&lt;BR /&gt;I am using the tFileList, tFileProperties and tOracleOutput to store the file statistics of all the files I am processing. What I have noticed is that when the table is created for the first time, one of the columns called "size" is actually an Oracle Keyword. The Built-in default schema provided by Talend has a column named "size", which is an Oracle keyword and hence has to be in double quotations (" ") while creating the table. So basically you will have to create a table as follows in Oracle. 
&lt;BR /&gt;CREATE TABLE TALEND_FILE_STATS 
&lt;BR /&gt;( 
&lt;BR /&gt; ABS_PATH VARCHAR2(4000 BYTE), 
&lt;BR /&gt; DIRNAME VARCHAR2(4000 BYTE), 
&lt;BR /&gt; BASENAME VARCHAR2(4000 BYTE), 
&lt;BR /&gt; MODE_STRING VARCHAR2(100 BYTE), 
&lt;BR /&gt; "size" NUMBER(20), 
&lt;BR /&gt; MTIME NUMBER(20), 
&lt;BR /&gt; MTIME_STRING VARCHAR2(30 BYTE) 
&lt;BR /&gt;) 
&lt;BR /&gt;ORACLE RESERVED KEYWORDS URL 
&lt;BR /&gt; 
&lt;A href="http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14354/appb.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14354/appb.htm&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;While writing queries, for example you will have to say something like this. 
&lt;BR /&gt;Select ABS_PATH, "size" from talend_file_stats ------this query will work 
&lt;BR /&gt;Select ABS_PATH, size from talend_file_stats ------this query will not work because now the column "size" is a keyword and hence you will have to use double quotations. When ever you use double quotations to name a table or a column while creating a table in Oracle, you will have to use double quotation in your queries also because Oracle will not recognize either the table or the column if not in double quotation. 
&lt;BR /&gt;Oracle will throw an ORA error 00900 
&lt;BR /&gt;---------------------------------------------------------------------- 
&lt;BR /&gt;invalid SQL statement 
&lt;BR /&gt;Cause: The statement is not recognized as a valid SQL statement. This error can occur if the Procedural Option is not installed and a SQL statement is issued that requires this option (for example, a CREATE PROCEDURE statement). You can determine if the Procedural Option is installed by starting SQL*Plus. If the PL/SQL banner is not displayed, then the option is not installed. 
&lt;BR /&gt;Action: Correct the syntax or install the Procedural Option. 
&lt;BR /&gt;------------------------------------------------------------------------ 
&lt;BR /&gt;There is no problem doing this, but my suggestion would be to make sure that your developers are given a list of all the keywords in all database which should not be used for naming the columns for all you default Built-In schemas. For example, if the "size" column is named to something like FILESIZE which is probably not a keyword in any of the databases that would reduce a lot of troubleshooting problems for all your Clients using Talend. 
&lt;BR /&gt;Thank you, 
&lt;BR /&gt;Santhosh.</description>
      <pubDate>Sat, 16 Nov 2024 12:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-reserved-keywords-tfileproperties/m-p/2258186#M40065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Database reserved keywords -- tfileproperties</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Database-reserved-keywords-tfileproperties/m-p/2258187#M40066</link>
      <description>Hi
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;that would reduce a lot of troubleshooting problems for all your Clients using Talend.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;I agree with you, I will talk it to our product manager. Thanks you!
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 05 May 2011 16:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Database-reserved-keywords-tfileproperties/m-p/2258187#M40066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-05T16:47:49Z</dc:date>
    </item>
  </channel>
</rss>

