<?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: my SAS equivalent to JSON_VALUE (Transact-SQL) in SAS Users Group in Israel</title>
    <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722391#M198</link>
    <description>&lt;P&gt;Sorry I was looking at the string literal in the function call. That does not include any trailing spaces to worry about.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;json_value(j_jstr,'$.quiz.maths.q1.question')&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But inside the function the value supplied is being assign to character variable, so trailing spaces will be added.&lt;/P&gt;</description>
    <pubDate>Sun, 28 Feb 2021 06:40:52 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2021-02-28T06:40:52Z</dc:date>
    <item>
      <title>my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722344#M189</link>
      <description>&lt;P&gt;Hey group members,&lt;/P&gt;&lt;P&gt;Recently I came across a new challenge.&lt;/P&gt;&lt;P&gt;I needed to analyze data which is stored as a JSON in a single DB column.&lt;/P&gt;&lt;P&gt;What the heck?!&lt;/P&gt;&lt;P&gt;How can one parse the required data from the huge JSON?!&lt;/P&gt;&lt;P&gt;In my research for a solution to this challenge I found PROC JSON which was quite cute for handling a single JSON (like in HTTP responses) &amp;nbsp;but in my case I need to extract hundreds of fields from a table that contains millions of JSON’s.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further in my research, I’ve found that almost any language supplies functions to parse JSON data.&lt;/P&gt;&lt;P&gt;To my great astonishment and disappointment SAS does not!&lt;/P&gt;&lt;P&gt;Is this real? SAS? The language that has a function for everything?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well.. that seems to be the case.&lt;/P&gt;&lt;P&gt;so, since I couldn’t wait for the guys in north Carolina I’ve decided to write one down myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my first draft&lt;/P&gt;&lt;P&gt;I’ll need to add error-handling, optimization and all but its working.&lt;/P&gt;&lt;P&gt;Please feel free to improve &amp;amp; share&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assaf attas. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let j_json='{
   "quiz":{
      "sport":{
         "q1":{
            "question":"Which one is correct team name in NBA?",
            "options":[
               "New York Bulls",
               "Los Angeles Kings",
               "Golden State Warriros",
               "Huston Rocket"
            ],
            "answer":"Huston Rocket"
         }
      },
      "maths":{
         "q1":{
            "question":"5 + 7 = ?",
            "options":[
               "10",
               "11",
               "12",
               "13"
            ],
            "answer":"12"
         },
         "q2":{
            "question":"12 - 8 = ?",
            "options":[
               "1",
               "2",
               "3",
               "4"
            ],
            "answer":"4"
         }
      }
   }
}
'
;

options cmplib=work.funcs;
proc fcmp outlib=work.funcs.json;

	function json_value(jf_jstr $,jf_value $) $ 256;
		
		/* Function Input */
		/*-------------------------------------------------------*/
		length 	j_jstr  $ 32767 j_value j_return $ 256;
		j_jstr 		=compbl(jf_jstr);
		j_value 	=compress(jf_value);
		
			
		/* Declarations &amp;amp; Calc */
		/*-------------------------------------------------------*/
		length 	thisObj $ 32 j_object  $ 32767;
		
		levels 		=countw(j_value,'.');
		j_object 	=j_jstr;
		
		/* LOOP Object levels */
		/*-------------------------------------------------------*/
		do _j=2 to levels;
	
			thisObj 	=cats('"',scan(j_value,_j,'.'),'"');
			
			/* For Objects */
			/*-------------------------------------------------------*/
			if _j &amp;lt; levels then do;
			
				/* Start parser */
				/*---------------------------------------*/
				spos=index(j_object,trim(thisObj));
				spos=find(j_object,'{',spos+1 );
				epos=spos;
				x=1;
	
				/* LOOP parser */
				/*---------------------------------------*/
				do until (x=0 or max_iter=100);
					epos=findc(j_object, '{}',epos+1);
					v=substr(j_object,epos,1);
					if v='{' then x=x+1;
						else if v='}' then x=x-1;
						
					max_iter=sum(y,1); /* Just in case... :) */
				end;
				
				/* RETURN parser */
				/*---------------------------------------*/
				j_object=substr(j_object,spos,(epos-spos+1));
				
				/* CLEAR parser */
				/*---------------------------------------*/
				spos=0;
				epos=0;
				x=0;
			
			end;
			
			/* For Key:Value Pair */
			/*-------------------------------------------------------*/
			else do;
				pattern_rgx='/' || '(' || trim(thisObj) || ')(\s*:\s*)((\[([^\]]+)\])|(\"([^\"]+)\")|(\w*))' || '/i';
				pattern_ID =prxparse(pattern_rgx);
				call prxsubstr(pattern_ID, j_object, j_pos, j_len);
				j_return=scan(substr(j_object, j_pos, j_len), 2, ':');
			end;
	
		end;
	
	return(j_return);
	endfunc;

run;

data sample;

	length 	j_jstr  $ 32767;
	j_jstr 		=compbl(&amp;amp;j_json);
	
	q1_question= json_value(j_jstr,'$.quiz.maths.q1.question');
	
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 17:56:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722344#M189</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-02-27T17:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722346#M190</link>
      <description>&lt;P&gt;To handle embedded quotes shouldn't this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	thisObj 	=cats('"',scan(j_value,_j,'.'),'"');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	thisObj 	=quote(scan(j_value,_j,'.'));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or if you want the "escape" embedded quotes instead.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;thisObj 	=cats('"',tranwrd(scan(j_value,_j,'.'),'"','\"'),'"');&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Feb 2021 18:13:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722346#M190</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-27T18:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722347#M191</link>
      <description>yes, both works but yours is prettier &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Sat, 27 Feb 2021 18:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722347#M191</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-02-27T18:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722348#M192</link>
      <description>&lt;P&gt;QUOTE() function handles embedded quotes.&amp;nbsp; At least it handles them the way SAS would. I am not sure what JSON files do with embedded quotes.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 18:21:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722348#M192</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-27T18:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722349#M193</link>
      <description>&lt;P&gt;if a quote() is to be used then it needs to be with a trim:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;thisObj 	=quote(trim(scan(j_value,_j,'.')));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Feb 2021 18:33:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722349#M193</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-02-27T18:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722352#M195</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/330397"&gt;@Assaf_Attas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;if a quote() is to be used then it needs to be with a trim:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;thisObj 	=quote(trim(scan(j_value,_j,'.')));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There is usually no need to TRIM() the results of SCAN() function.&amp;nbsp; If you had stored the string into a variable first then the TRIM() would be needed because the fixed length nature of character variables will add spaces to pad the string to the full length of the variable.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 19:03:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722352#M195</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-27T19:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722353#M196</link>
      <description>&lt;P&gt;bottom line.. try for yourself&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Works */
thisObj 	=cats('"',scan(j_value,_j,'.'),'"');

/* Works */
thisObj 	=quote(trim(scan(j_value,_j,'.')));

/* Doesnt Work */
thisObj 	=quote(scan(j_value,_j,'.'));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Feb 2021 19:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722353#M196</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-02-27T19:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722390#M197</link>
      <description>&lt;P&gt;Can you explain how this works?&amp;nbsp; What is the syntax for the function call?&amp;nbsp; It looks like the first argument is just the JSON text itself.&amp;nbsp; And the second argument is what exactly?&amp;nbsp; If this is following a pattern used in other functions from other languages can you provide a link to that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume you are trying to provide a hierarchy of keys in the JSON text and want to return the first value for that key.&amp;nbsp; What happens if they keys repeat?&amp;nbsp; Do you just want the first value found? All of them? Do the other languages provide syntax for handling that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example could you spell out what &lt;FONT face="courier new,courier"&gt;$.quiz.maths.q1.question&lt;/FONT&gt; means and&amp;nbsp;how exactly does your implementation locate that key?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this implementation require a certain pattern to how the JSON text is constructed to work?&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 06:38:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722390#M197</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-28T06:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722391#M198</link>
      <description>&lt;P&gt;Sorry I was looking at the string literal in the function call. That does not include any trailing spaces to worry about.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;json_value(j_jstr,'$.quiz.maths.q1.question')&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But inside the function the value supplied is being assign to character variable, so trailing spaces will be added.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 06:40:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722391#M198</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-28T06:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722407#M199</link>
      <description>&lt;P class="lia-align-right" style="direction: rtl;"&gt;שלום&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/330397"&gt;@Assaf_Attas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;אני מניח שאני כותב את הברור מאליו אבל זה שיש לך מאות שדות או קבצי JSON לא אמור להפריע בשימוש ב PROC JSON שכן אפשר להפעיל אותו בלולאה על כל הקבצים/שדות דרך שפת Macro של SAS.&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;בכל מקרה, רעיון נוסף שרציתי להציע לך הוא שימוש בשפת Groovy בתוך SAS על מנת לנתח את קובץ ה JSON ראה לדוגמה&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Parse-json-file-with-Proc-Groovy/td-p/187484" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Parse-json-file-with-Proc-Groovy/td-p/187484&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;אפשרויות נוספות כוללות שליחת SQL בדחיפה ל DBMS ושימוש בפונקציות המובנות שלו לניתוח ה JSON ומשיכת התוצאות בחזרה לאחר הניתוח ל SAS. הכוונה כאן היא לשימוש ב SQL Pass Through.&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;בהצלחה,&lt;/P&gt;
&lt;P class="lia-align-right" style="direction: rtl;"&gt;אייל&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 08:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722407#M199</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2021-02-28T08:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722428#M200</link>
      <description>&lt;P&gt;This link has details of what is a valid KEY in JSON text.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/8676011/which-characters-are-valid-invalid-in-a-json-key-name" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/8676011/which-characters-are-valid-invalid-in-a-json-key-name&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you only need to escape embedded double quotes or backslash.&amp;nbsp; But it might be easiest to leave the just the CATS() function call and assume the caller has properly added the backslash escapes where they are needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But what about allowing quotes in the key list?&lt;/P&gt;
&lt;P&gt;Do these two value for the second argument have the same meaning?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;$.id.name
$."id"."name"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If so you might want to use the Q modifier on the SCAN() function call.&amp;nbsp; This will also let you handle keys with embedded periods.&amp;nbsp; Note however that embedded quotes that have "escaped" with a backslash will cause trouble for the SCAN() function.&amp;nbsp; So if you want to support embedded quotes or periods in key names then you might need to either build your own parser to replace SCAN() function or have the input key list use SAS syntax and add your own logic to both remover outer quotes and insert required escape characters.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 16:22:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722428#M200</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-02-28T16:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722558#M201</link>
      <description>&lt;P&gt;hi tom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is relevant only for the function call and not to the json itself&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-sas"&gt;&lt;CODE&gt;$.id.name&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;object in JSON are always quoted.&lt;/P&gt;&lt;P&gt;the key (referenced by the last item in call function) is searched using a perl regex so the code is capable to handle numerous situations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can consider this as a simplified version of T-SQL Jason_Value function:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/t-sql/functions/json-value-transact-sql?view=sql-server-ver15" target="_blank"&gt;https://docs.microsoft.com/en-us/sql/t-sql/functions/json-value-transact-sql?view=sql-server-ver15&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my function does not yet support json arrays&lt;/P&gt;&lt;P&gt;and i havent yet tested it for performance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 11:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722558#M201</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-03-01T11:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: my SAS equivalent to JSON_VALUE (Transact-SQL)</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722559#M202</link>
      <description>&lt;P&gt;הי אייל, תודה ומה שלומך.&lt;/P&gt;&lt;P&gt;שים לב שלא דיברתי על מאות שדות.. עם זה אין בעיה.&lt;/P&gt;&lt;P&gt;הבעיה היא מה עושים כשהמדובר במליוני רשומות?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;נראה לי פחות פרקטי לקחת כל רשומה.. לכתוב אותה לקובץ JSON חיצוני.. ואז לקרוא אותו בחזרה באמצעות json libname&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SQL Pass Through זה אכן פתרון.. כמו גם לבנות VIEW בבסיס הנתונים המקורי.. כאן יש רק בעיית בירוקרטיה מול ה- DBA &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;עם groovy עדיין לא יצא לי לעבוד.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ראיתי שגם ב- DS2 יש אוסף נאה של פונקציות JSON אבל גם שם אני פחות שוחה &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 11:56:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/my-SAS-equivalent-to-JSON-VALUE-Transact-SQL/m-p/722559#M202</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-03-01T11:56:13Z</dc:date>
    </item>
  </channel>
</rss>

