<?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 Re: Running fluid query from SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821527#M324331</link>
    <description>&lt;P&gt;Run this program in SAS to confirm both your installed and licensed products:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;
run;

proc setinit;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 05 Jul 2022 03:43:41 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-07-05T03:43:41Z</dc:date>
    <item>
      <title>Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821483#M324313</link>
      <description>&lt;P&gt;Good morning Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run a fluid query from SAS EG. Could you please advise the best way to execute a Netezza sql fluid query using SAS code. Fluid query is transferring data from Hadoop to Netezza. I am only restricted to use fluid query as there is currently no information available to make other connections.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kajal&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 16:20:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821483#M324313</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-07-04T16:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821501#M324317</link>
      <description>&lt;P&gt;Do you have a working data connection from SAS to Netezza already? If so what SAS/ACCESS product are you using?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 20:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821501#M324317</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-07-04T20:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821520#M324329</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you tell me how can I see that SAS/ACCESS ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;so here is the scenario. my source data is in Hadoop and target location is Netezza. So fluid query is reading data from Hadoop and loading it into Netezza also it is working fine and expected when I am running this query on a DB tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kajal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 02:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821520#M324329</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-07-05T02:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821527#M324331</link>
      <description>&lt;P&gt;Run this program in SAS to confirm both your installed and licensed products:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;
run;

proc setinit;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Jul 2022 03:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821527#M324331</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-07-05T03:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821650#M324396</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Base SAS Software ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;BR /&gt;Image version information: 9.04.01M6P110718&lt;BR /&gt;For SAS/STAT ...&lt;BR /&gt;Custom version information: 15.1&lt;BR /&gt;For SAS/GRAPH ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;BR /&gt;For SAS/ETS ...&lt;BR /&gt;Custom version information: 15.1&lt;BR /&gt;For SAS/FSP ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;BR /&gt;For SAS/OR ...&lt;BR /&gt;Custom version information: 14.2&lt;BR /&gt;Image version information: 9.04.01M4P110916&lt;BR /&gt;For SAS/AF ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;BR /&gt;For SAS/IML ...&lt;BR /&gt;Custom version information: 15.1&lt;BR /&gt;For SAS/SHARE ...&lt;BR /&gt;Custom version information: 9.4_M5&lt;BR /&gt;For SAS/ASSIST ...&lt;BR /&gt;Custom version information: 9.4&lt;BR /&gt;Image version information: 9.04.01M0P061913&lt;BR /&gt;For SAS/CONNECT ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;BR /&gt;For SAS/EIS ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;BR /&gt;2 The SAS System Tuesday, July 5, 2022 09:07:00 AM&lt;/P&gt;&lt;P&gt;For SAS/ACCESS Interface to Netezza ...&lt;BR /&gt;Custom version information: 9.43&lt;BR /&gt;For SAS OLAP Server ...&lt;BR /&gt;Custom version information: 9.4&lt;BR /&gt;For SAS Enterprise Miner ...&lt;BR /&gt;Custom version information: 15.1&lt;BR /&gt;For SAS/ACCESS to Impala ...&lt;BR /&gt;Custom version information: 9.45&lt;BR /&gt;For SAS/IntrNet ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;BR /&gt;For SAS Integration Technologies ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;BR /&gt;For SAS/Secure 168-bit ...&lt;BR /&gt;Custom version information: 9.41_M3&lt;BR /&gt;For SAS Credit Scoring ...&lt;BR /&gt;Custom version information: 15.1&lt;BR /&gt;For SAS Data Quality Server ...&lt;BR /&gt;Custom version information: 9.46&lt;BR /&gt;For High Performance Suite ...&lt;BR /&gt;Custom version information: 2.2_M7&lt;BR /&gt;For SAS/ACCESS Interface to DB2 ...&lt;BR /&gt;Custom version information: 9.4_M2&lt;BR /&gt;For SAS/ACCESS Interface to Oracle ...&lt;BR /&gt;Custom version information: 9.43&lt;BR /&gt;For SAS/ACCESS Interface to PC Files ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;BR /&gt;For SAS/ACCESS Interface to ODBC ...&lt;BR /&gt;Custom version information: 9.4_M6&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 17:41:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821650#M324396</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-07-05T17:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821672#M324404</link>
      <description>&lt;P&gt;How do you "run" a "fluid query" now?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have to login to some website and push some button?&lt;/P&gt;
&lt;P&gt;Does it have an API to allow you to trigger the execution via a program?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 19:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821672#M324404</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-07-05T19:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821704#M324409</link>
      <description>&lt;P&gt;So you have&amp;nbsp;&lt;SPAN&gt;SAS/ACCESS Interface to Netezza. That's the best option for running SQL queries in Netezza from SAS.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 20:10:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821704#M324409</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-07-05T20:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821743#M324424</link>
      <description>&lt;P&gt;I am running a fluid query in TOAD data point. Adding sample fluid query I am running in Netezza to get data from Hadoop. Where hd2 is a fluid query. Just thinking a way to run similarly in SAS EG but it is not recognizing fluid query.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;INSERT INTO NZ_tbl.final(
	rec_type
	, rv
	, trends 
	, account            
	, address          
	, client            
	, segment           

	)
	SELECT 
	rec_type
	, rv
	, trends 
	, account            
	, address          
	, client            
	, segment  
	FROM TABLE
	WITH FINAL (hd2('db.dev',
	'',
	'SELECT 
	rec_type
	, rv
	, trends 
	, account            
	, address          
	, client            
	, segment
	FROM view
	where date = 20220526
	'))
;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;&lt;P&gt;Kajal&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 23:12:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821743#M324424</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-07-05T23:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821746#M324426</link>
      <description>&lt;P&gt;You can run that exact code in SAS using SQL Passthru and the EXECUTE statement. The program would look similar to this, bearing in mind you need to add your correct Netezza LIBNAME settings:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname netezza odbc noprompt = "server=MyServerName;DRIVER=MyNetezzaDriver;Trusted Connection=yes;";

proc sql;
 connect using netezza;
 
  execute 
   (
INSERT INTO NZ_tbl.final(
	rec_type
	, rv
	, trends 
	, account            
	, address          
	, client            
	, segment           

	)
	SELECT 
	rec_type
	, rv
	, trends 
	, account            
	, address          
	, client            
	, segment  
	FROM TABLE
	WITH FINAL (hd2('db.dev',
	'',
	'SELECT 
	rec_type
	, rv
	, trends 
	, account            
	, address          
	, client            
	, segment
	FROM view
	where date = 20220526
	'))
   ) by netezza
  ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 23:37:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821746#M324426</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-07-05T23:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821829#M324477</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;Thank you and&amp;nbsp;getting error&lt;/P&gt;&lt;P&gt;ERROR: CLI execute error: ERROR: 'INSERT INTO nz_tbl.final ( rec_type,rv,trends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kajal&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 14:22:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821829#M324477</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-07-06T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821915#M324510</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259983"&gt;@kajal_30&lt;/a&gt;&amp;nbsp;- It&amp;nbsp; looks like your error message is not complete. Did you post all of it?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 19:48:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821915#M324510</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-07-06T19:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821932#M324515</link>
      <description>&lt;P&gt;The only TOAD I know is a tool for connecting to databases and submitting code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that what you are doing?&lt;/P&gt;
&lt;P&gt;What database are you connecting to?&lt;/P&gt;
&lt;P&gt;Did you try connecting to the same database from SAS and then using the EXECUTE statement of PROC SQL to push your current SQL to that database instead of using TOAD to push the SQL to the database?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 20:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821932#M324515</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-07-06T20:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821960#M324527</link>
      <description>&lt;P&gt;see below the rest of the portion&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;553 quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 02:34:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821960#M324527</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-07-07T02:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821978#M324533</link>
      <description>&lt;P&gt;Normally a CLI error includes more information than this:&lt;/P&gt;
&lt;PRE&gt;ERROR: CLI execute error: ERROR: 'INSERT INTO nz_tbl.final ( rec_type,rv,trends,&lt;/PRE&gt;
&lt;P&gt;It would help if you posted the complete SAS log including errors and notes.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 04:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/821978#M324533</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-07-07T04:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822740#M324873</link>
      <description>&lt;P&gt;Though it is running fine but still not adding any records to the final table. May I know the possible reasons ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kajal&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 03:11:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822740#M324873</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-07-12T03:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822741#M324874</link>
      <description>&lt;P&gt;Can you post the complete SAS log of your latest run including SAS notes?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 04:24:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822741#M324874</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-07-12T04:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822745#M324875</link>
      <description>&lt;P&gt;You sure this quote in your code should be there?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1657601567507.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73189iE5F62FCA6798DEDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_0-1657601567507.png" alt="Patrick_0-1657601567507.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Using pass-through SQL as you do SAS does nothing else than sending the code "as-is"&amp;nbsp; to the database and though it's VERY similar to running code via Toad.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your code runs via Toad and via the same user than you use for your SAS session then there is no reason why you should get this CLI error using SAS or why you should get a different result if the code executes without errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's actually a very common development approach for such scenarios to first develop the code "outside" of SAS via some client and only once the code works copy/paste it into some SAS code section for explicit pass-through SQL.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 04:59:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822745#M324875</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-07-12T04:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822825#M324903</link>
      <description>&lt;P&gt;yes exactly this code is developed in toad and running absolutely fine and loading data when running in toad but failing in SAS only also doing the same just pasting the working code inside sql pass through in sas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kajal&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 13:05:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822825#M324903</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-07-12T13:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822828#M324905</link>
      <description>&lt;P&gt;Here is one error I am getting after doing some troubleshooting&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI execute error: ERROR: Error from JDBC driver: Error while compiling statement: FAILED: SemanticException [Error 10004]:&lt;BR /&gt;Line 1:5175 Invalid table alias or column reference 'process_date': (possible column names are: )&lt;/P&gt;&lt;P&gt;After adding table alias 't' getting error:&lt;/P&gt;&lt;P&gt;ERROR: CLI execute error: ERROR: Error from JDBC driver: Error while compiling statement: FAILED: ParseException line 1:5168&lt;BR /&gt;missing EOF at 't' near 'source_table'&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 13:15:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822828#M324905</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2022-07-12T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Running fluid query from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822835#M324907</link>
      <description>&lt;P&gt;Are you sure the code you posted here is what you are running via TOAD?&lt;/P&gt;
&lt;P&gt;It seems to use an extremely strange syntax.&lt;/P&gt;
&lt;P&gt;The start looks normal enough, basically requesting to insert some values for 7 selected variable into an existing dataset ("table" in SQL speak).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;INSERT INTO NZ_tbl.final(rec_type,rv,trends,account,address,client,segment)
SELECT rec_type,rv,trends,account,address,client,segment
FROM &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What should go after the FROM keyword is a table (or something that looks like a table, such as a view or a subquery).&lt;/P&gt;
&lt;P&gt;But instead you have this code that I cannot understand.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;TABLE WITH FINAL(hd2('db.dev','','SELECT rec_type,rv,trends,account,address,client,segment FROM view where date = 20220526'))
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What does TABLE mean here?&lt;/P&gt;
&lt;P&gt;What does WITH mean here?&lt;/P&gt;
&lt;P&gt;What does FINAL() mean here? Is it a function call?&amp;nbsp; Is it different than the final above which was the name of a table in the NZ_TBL schema?&lt;/P&gt;
&lt;P&gt;What does HD2() mean here?&amp;nbsp; That looks a lot like a function call.&amp;nbsp; What type of function is that?&amp;nbsp; It looks like it takes three arguments that are all character strings.&amp;nbsp; What do they mean? What does it return? Does it return something that looks like a "table" ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 13:44:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-fluid-query-from-SAS/m-p/822835#M324907</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-07-12T13:44:08Z</dc:date>
    </item>
  </channel>
</rss>

