And we need to use a path expression to specify the attribute. If you want to insert JSON data that contains arrays, you can enter it using text in a JSON format. The @Option parameter is used to change default settings when the function is run. Use FOR JSON to delegate the formatting of JSON output from your client applications to SQL Server. Select Choose the By Delimiter. This should make our query faster. Now, we can create an index on this new column. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Transform arrays of JSON objects into table format. What about validation? Is there an ordered relationship between the ProtocolModificationDynamicData and the remaining columns, i.e. Lets see an example by removing an attribute from product ID 2. upgrading to decora light switches- why left switch has white and black wire backstabbed? It is a A normalised database structure, one with tables and columns and relationships, works well for most cases. Another way you can use this function is to specify the schema of the columns found in the result. Create indexes on JSON properties and full-text indexes. If we select the data from the table, this is what we see: The JSON data is shown exactly as we entered it. Well use it on a JSON value, then see how to use it for our table. But only you would know that each case is different. Ways to Split delimited column into multiple rows Method 1. Download the backup file of AdventureWorks2016_EXT from the GitHub, Restore this database in your SQL instance in RECOVERY mode, Extract the folder and execute all scripts(except cleanup.sql) from the JSON folder in the Not the answer you're looking for? JSON documents may have sub-elements and hierarchical data that cannot be directly mapped into the standard relational columns. The result is the JSON data in a table structure: You can use this method even if there are arrays inside the JSON data. You don't have to return all the fields that are contained in the JSON text. JSON functions, first introduced in SQL Server 2016, enable you to combine NoSQL and relational concepts in the same database. Here, we can specify further argument as Its similar to HTML or XML it represents your data in a certain format that is readable by people but designed to be readable by applications. But why isnt it showing in the results? This is available in some records but not others. If you have a web service that takes data from the database layer and returns it in JSON format, or if you have JavaScript frameworks or libraries that accept data formatted as JSON, you can format JSON output directly in a SQL query. Defined Function 5. Run the scripts in this file to reformat some existing data as JSON data, test sample queries and reports over the JSON data, index the JSON data, and import and export JSON. JSON Method 4. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. It has the ability to include schema information along with the data which is an advantage over CSV files. Solution 2. We can also add a constraint to ensure it is valid JSON. Why does RSASSA-PSS rely on full collision resistance whereas RSA-PSS only relies on target collision resistance? However, we can use an NVARCHAR field. SQL Server can also format query results in any format, such as OData JSON or GeoJSON. JSON also supports arrays, which is a collection of records within an object. ignore the errors related to full text for this article. AdventureWorks2016_EXT. Say we have our Side Table product with a materials array of metal and wood: We want to also say it has a material of plastic. The second half of this article will utilize the Eloquent ORM with Laravel to communicate with the database. zero-based indexing process, and we can specify the second argument $.Employees[1]. Does Cosmic Background radiation transmit heat? Consider filtering by the primary key and other fields in the table, rather than attributes inside the JSON field. This will mean that the new value should be added or appended to the end of the array. Its because the drawers attribute is an array. A null value is shown for records that dont have this attribute. Other characters sequences that are automatically converted are: @InputString nvarchar(max) (SS2K8) nvarchar(4000) (SS2K). UPDATE: With the help of Max Vernon and Andriy M we have found a fairly simple solution to this problem. First, we use the $ argument in the second parameter, and we get the complete JSON string, as shown below. Asking for help, clarification, or responding to other answers. In this article, we are exploring JSON_QUERY() function using various examples. To return objects or arrays, we need to use the JSON_QUERY function. The offset in the input string that the element was found. First, we write the path expression for the color attribute: Then, we add this to our JSON_VALUE function: Finally, we add this to our SELECT clause to show it as a separate column. I need to find out the way to parse that heterogeneous json in rows. 542), We've added a "Necessary cookies only" option to the cookie consent popup. The value of posts is an array, which we can see by the opening square bracket [. Query Performance 6. To learn more, see our tips on writing great answers. We can run a simple SELECT statement to see the data in the table. You can refer to JSON for these articles. It then validates and sets the variables using the returned table. Do flight companies have to make it clear what visas you might need before selling you tickets? personVist6 | 01:00AM, Assuming it's SQL Server it seems you're looking for something like this. document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() ); This site uses Akismet to reduce spam. In the outer part an UNION expression is used to fetch the columns on separate rows. We do this using a combination of "path expressions" and the JSON_VALUE function. Do flight companies have to make it clear what visas you might need before selling you tickets? JSON functions, first introduced in SQL Server 2016, enable you to combine NoSQL and relational concepts in the same database. GO Solution : Given below is the solution, where we need to convert the column into xml and then split it into multiple columns using delimiter. You can return the first object using [0]: The second object can be found using [1], the third object using [2], and so on. The OPENJSON function is quite useful if you need to extract or transpose your JSON data into columns. We cannot retrieve an array element in using this function. We can retrieve the whole JSON document by removing the second argument. First, we create a new column that contains the color attribute: We can select from the product table to see it. We can run this statement and the record is inserted. This can be done with the JSON_MODIFY function. Personal Blog: https://www.dbblogger.com String Split Method 2. Microsoft is migrating content formerly on Channel 9 to a new platform. The function converts this format into a T-SQL date style format. JSON Data. By default, JSON_QUERY() function uses a default path mode lax. When you need real-time analysis of IoT data, load the incoming data directly into the database instead of staging it in a storage location. At this step, we can use the JSON function to query data in the AdventureWorks2016_EXT sample database. Sci fi book about a character with an implant/enhanced capabilities who was hired to assassinate a member of elite society. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. 1 is the starting position. Is it correct, "checkboxdata1":"yes" means the "yes" corresponds to platform3. We can use strict mode for getting the error message. Unlike other databases, SQL Server does not have a JSON-specific data type. 1) "\/DATE(" found at position1 but the date is not 13 numeric characters. How do we use this to filter our data? Using Extension Method and Class 4 ways to Convert JSON to DataTable in C# - asp.net conjunction with JSON. This does give us the result we want. It may or may not work for your situation, but consider taking this approach. Making statements based on opinion; back them up with references or personal experience. Load, query, and analyze log data stored as JSON files with all the power of the Transact-SQL language. It also allows you to Applies to: How is "He who Remains" different from "Kang the Conqueror"? The name of the output column is value. Now you can combine classic relational columns with columns that contain documents formatted as JSON text in the same table, parse and import JSON documents in relational structures, or format relational data to JSON text. You provide it with a value, and it returns 1 if its a valid JSON string and 0 if it is not. We have created a table called product. But then you may be better off using a NoSQL database rather than SQL Server. Search by the Primary Key and other fields. The JSON_MODIFY function syntax looks like this: The function returns the updated JSON string. This shows us the data in the JSON column, and it looks just like a text value. What if we wanted to do more in our database? Index JSON data. Run query examples. Because drawer is an array, we cant use the dot notation to get the attribute like this: This will return a null value as there is no attribute called side: its part of an array. We can run this query. This determines how to treat path values that dont exist. update test set desk = json_modify(desk, {{{ $.Desk[XX].height = 10cm }}} where {{{$.Desk[XX].side =left}}}, Sample Data You can download If you must modify parts of JSON text, you can use the JSON_MODIFY (Transact-SQL) function to update the value of a property in a JSON string and return the updated JSON string. [DataContract ] public class Data { [DataMember (Name = "name" )] public string Name { get; set; } [DataMember] public string Custnumber { get; set; } } Expand . To use the default settings the call is: To set the options dateStyle and idStart the call is: Notice that we only need to just pass in the options we want to set (2 in the example above), not all of them. We can use SQL functions such as SQL CONCAT in combination with JSON_QUERY functions. We can also use the $ argument to get the whole JSON string. SQL Server 2016 (13.x) and later We cannot retrieve a JSON object using the JSON_VALUE() function. JSON text is stored in VARCHAR or NVARCHAR columns and is indexed as plain text. A Function to Split JSON Data - SQLServerCentral A Function to Split JSON Data Ric Vander Ark, 2009-09-23 JSON stands for JavaScript Object Notation, and is a lightweight data-interchange. You can add indexes on the JSON_VALUE(Tab.json, '$.Status') expression to improve the performance of the query. How do we know the text we add to this field is valid JSON and not just a text string? Let us have a JSON placed in an external file and its contents are Select * FROM OPENJSON (@JSON) Don't run this part if you want to keep the stored procedures and views that you created in steps 2 and 4. The splitChar option allows you to specify a different character to split on. * to the select list) the non-split values in the other columns are duplicated. The other way to delete JSON data is to remove an attribute from a JSON field. These two objects are posts and they are contained in an array. If JSON is new to you, dont worry, it gets easier as you work with it more. The path is $.width as its a width attribute at the top level (not within another attribute). In an array the data itself. JSON_QUERY() function, lets see the output. This function is called ISJSON. The word append goes before our JSON path inside the string. Your email address will not be published. its working fine. SQL Server introduced support for JSON in SQL Server 2016. We can see another field using JSON_VALUE by specifying the attribute name: Here we are extracting the attribute called height. OPENJSON is a table-valued function that reads a JSON string and returns data in the form of rows and columns. As you can see from the options available for fnSplitJson2, if I had to write it with a parameter for each option the code would look something like: where parameters 2 -8 are the options. Would the reflected sun's radiation melt ice in LEO? The id values are negative offset from the idStart value. In the function body we handle validation and set the default if a parameter has a NULL value. We have another set of curly brackets indicating another object. JSON is a textual format so the JSON documents can be stored in NVARCHAR columns in a SQL Database. It is an ordered list of values to store multiple values. The JSON_VALUE function only returns single values, or scalar values as they are called in the documentation. Convert Results Using AUTO Mode This is the simplest way to convert relational data into a JSON format as all that you have to do is to add FOR JSON AUTO clause at the end of your SELECT statement. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. I'd have to see exactly what you're looking for. Instead of writing code or including a library to convert tabular query results and then serialize objects to JSON format, you can use FOR JSON to delegate the JSON formatting to SQL Server. JSON is also used for storing unstructured data in log files or NoSQL databases such as Microsoft Azure Cosmos DB. We create a new field to store our JSON data. As an alternative you can use openjson without WITH clause to dynamically return all key:value pairs from the JSON object: In this version, OPENJSON will return pivoted values. JSON ( J ava S cript O bject N otation) is a lightweight text-based data format that helps to interchange data easily between modern applications. If the remaining columns are added to the query (add j. provide a root element in the JSON string. We can use FOR JSON PATH argument to format the output in the JSON format. SQL Server can import the contents of JSON files, parse it by using the OPENJSON or JSON_VALUE functions, and load it into tables. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. Connect and share knowledge within a single location that is structured and easy to search. One example may be where a user can add custom attributes. So, because were updating an existing row in the table, we use the UPDATE statement and this function. Heres what a check constraint would look like: Or, we could add the constraint at the time we create the table: The ISJSON field returns 1 if the specified field is JSON-compliant. JSON is not a replacement for existing relational models, however. Why was the nose gear of Concorde located so far aft? First letter in argument of "\affil" not being output if the first letter is "L". For more information, see Convert JSON Data to Rows and Columns with OPENJSON (SQL Server). It looks like nothing has changed. Create procedures and views that query JSON data. steps to prepare the same database. - May 18, 2021 at 11:28 Thank you @Stephen :-). Messages containing errors or warnings about the record. This OData URL represents a request for the ProductID and ProductName columns for the product with ID 1. One design is to have the web method and the stored procedure to each have the 3 input parameters. When using JSON, you can significantly reduce the load on the server CPU in comparison with XML. This might be OK for our table, which only has a few records, but once you start working with larger tables it can be quite slow. This is an example of using the fnSplitJson2 function: I believe you will find the JSON format easy to use and very readable, and the fnSplitJson2 function a very useful tool. What does a search warrant actually look like? The set of key-value pairs for an object must be embraced in curly braces ( {}). A JSON data object is a collection of one or more key-value pairs. the $ symbol. In this case, whenever we make changes to the attributes field, it must be a valid JSON document so that this check constraint passes. We can test if this is valid by looking at it for quotes and other symbols in the right places. We can check the execution plan to see how it was run. The first half of this article will design a database with JSON fields. 3.4 Add JSON Array / JOIN Conditions for related document. Drift correction for sensor readings using a high-pass filter. STRING_SPLIT outputs a single-column or double-column table, depending on the enable_ordinal argument. We have also added the color, material, and height into the SELECT clause. - May 18, 2021 at 11:38 Take a look and let us know if this post can help you, https://www.simple-talk.com/blogs/2013/03/26/sql-server-json-to-table-and-table-to-json/. We can update the value of color to black by using this JSON_MODIFY function. This will insert a new product that has an array of drawers. So the result I am looking for like: If this is not possible with native SQL Server mechanisms, maybe PostgreSQL can do it, or other RMDBS, PS. ---------------|--------------- It retrieves a scalar value useful function to work with SQL Server JSON data. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site For example: {Apples:20000, Oranges:400, Apricots:507}. It returns a NULL Value if we try to return an array or object. We can run the same SELECT statement as above to see the updated value. After you restore the sample database to an instance of SQL Server, extract the samples file, and then open the JSON Sample Queries procedures views and indexes.sql file from the JSON folder. Find centralized, trusted content and collaborate around the technologies you use most. Before we go further, I will give a small overview of JSON object and array. You can easily transform relational to semi-structured data and vice-versa. The output of this query is JSON text that's fully compliant with the OData spec. does the first value in checkboxdata2 correspond to protocol3 and second value correspond to protocol4? Many REST web services return results that are formatted as JSON text or accept data that's formatted as JSON. The JSON data can also be stored in your database and processed by an ORM (Object Relational Mapper) or your application code, so your database may not need to do any extra work. To use it on a JSON value, we need to declare and set a value first. In the below, we specify it as $.Employees. Often we need to filter on one of the keys or values. These NoSQL databases primarily uses JSON structured data. How can we do that? Required fields are marked *. The fnSplitJSON2 function splits a JSON string and returns the information in a table. If you want to download a PDF version of this guide, enter your email below and youll receive it shortly. JSON was standardized in 2013 and the latest version of the standard (ECMA-404: The JSON Data Interchange Syntax) was released in 2017. What about attributes that are arrays, such as material in this example? So why would you use JSON data in your database? Arrays in JSON are included in square brackets and have a name: In this example, this object has an attribute called posts. Have you used JSON fields in SQL Server? Because we are updating an existing value, we use the UPDATE statement. You can click on the JSON hyperlink and it gives you JSON as shown below. Due to JOIN, the second row will be repeated for every skill. In this example the semicolon is set to be the split character. An object is an unordered set of name/value pairs. How did Dominion legally obtain text messages from Fox News hosts? 3.2 Create Datasets. It consists of key-value pairs. The result of this query is shown in the following table: OUTER APPLY OPENJSON will join first-level entity with sub-array and return flatten resultset. Other than quotes and umlaut, does " mean anything special? If you want to get JSON data from a table and show it in a table format using OPENJSON, youll need to use the CROSS APPLY feature to reference a table. 3.3. We can see that the columns have been split out and are showing separately. Heres how to insert an array by just specifying it in a JSON format. Our path expression would look like this: We can write the JSON_VALUE function like this: Weve added this JSON_VALUE function to our WHERE clause, and added a condition where the color is equal to brown. Since NVARCHAR type is supported in all SQL Server subsystems you can put JSON documents in tables with CLUSTERED COLUMNSTORE indexes, memory optimized tables, or external files that can be read using OPENROWSET or PolyBase. Thank you! For example, in order to parse data in SQL Server 2008 and above, we use OPENJSON function which transforms a JSON array to a table. JSON is a viable option for transferring data between systems. Consider using the advantages of SQL Server relational database and using JSON where appropriate. JSON is also the main format for exchanging data between webpages and web servers by using AJAX calls. To get the AdventureWorks sample database, download at least the database file and the samples and scripts file from GitHub. Instead of updating the field to say it has a material of metal, wood, and plastic (which would involve reading the existing value and including it in the update), we can use append and add the value of plastic to it. You can copy the JSON and paste it in the JSON formatter. We can note that the array starts and end with a square I am the creator of one of the biggest free online collections of articles on a single topic, with his 50-part series on SQL Server Always On Availability Groups. 3 Create JSON using SSIS Export JSON Task. However, if your requirements mean that your data structure needs to be flexible, then a JSON field may be good for your database. Below is a list of bulleted items or rules for using the .WRITE () function in your SQL queries: .WRITE () can only be used on columns with a data type of VARCHAR (MAX), NVARCHAR (MAX), or VARBINARY (MAX). We get an object or an array from the JSON. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Each file will be a separate row in the table.Ideally, inserting the following files would give me a table with three rows where JSON_DATA The @LengthValue is, by default, a BIGINT data type. Further to this example, we need to retrieve the second row (JSON object]. For example, to specify the color attribute, out path expression would look like this: To specify the material attribute, we can use this path expression: If we had a height attribute enclosed in a dimensions attribute, our path expression would look like this: We use the dot to specify the next level in the hierarchy of attributes. The style number used by the T_SQL CONVERT function. It also gives you NULL value in the output If we try to get a scalar value from the JSON_QUERY() function. If enable_ordinal is NULL, omitted, or has a value of 0, STRING_SPLIT returns a single-column table whose rows contain the substrings. Hi, | GDPR | Terms of Use | Privacy. There are two ways that relational results can be converted into JSON, namely, the AUTO and PATH options. The table, depending split json data in sql server column the enable_ordinal argument the same database in this example the semicolon set. New to you, https: //www.dbblogger.com string split Method 2 rows columns! Databases, SQL Server it seems you 're looking for something like this: function... It on a JSON value, then see how it was run cases... A textual format so the JSON format URL represents a request for the product with id.... The offset in the JSON hyperlink and it looks just like a text value what you 're looking for like... At split json data in sql server column step, we can see another field using JSON_VALUE by specifying the attribute name: this..., namely, the second row ( JSON object ] and other symbols in the JSON.... Can significantly reduce the load on the JSON legally obtain text messages from Fox hosts!, or scalar values as they are called in the result results in any,. Will utilize the Eloquent ORM with Laravel to communicate with the OData spec this step, use! Now, we need to extract or transpose your JSON data to rows and columns database. Auto and path options parameter is used to change default settings when the function body we handle validation and the! Below, we need to use the JSON_QUERY ( ) function second half of this query is JSON text accept! 'S SQL Server 2016 to our terms of service, privacy policy and cookie split json data in sql server column single-column table whose rows the... To download a PDF version of this guide, enter your email below and youll receive shortly. Class 4 ways to split delimited column into multiple rows Method 1 found in the input string that the value. The ability to include schema information along with the help of Max Vernon and M! Character to split on asp.net conjunction with JSON gives you NULL value if we wanted to do more our... `` \affil '' not being output if we wanted to do more in our database knowledge with coworkers, developers... Will be repeated for every skill you agree to our terms of service, privacy policy and cookie.. Of rows and columns with OPENJSON ( SQL Server 2016 ( 13.x ) later... Parameter is used to fetch the columns found in the table, we 've added a `` Necessary cookies ''. The attribute called height / JOIN Conditions for related document allows you to Applies to: how is `` ''! Inside the JSON field enable_ordinal argument double-column table, rather than SQL Server does not have a name: we. One example may be better off using a high-pass filter because were updating an existing,. A valid JSON and not just a text value correspond to protocol4 Conditions related... Url represents a request for the product table split json data in sql server column see it into the SELECT.! Format for exchanging split json data in sql server column between webpages and web servers by using this function. You do n't have to make it clear what visas you might need before selling you tickets get an or! String_Split returns a NULL value is shown for records that dont exist will mean that the value. The query ( add j. provide split json data in sql server column root element in the table, we need to filter on one the... Or values introduced in SQL Server 2016, enable you to Applies to: how is `` ''... Expression to specify a different character to split on our JSON path the. Errors related to full text for this article split json data in sql server column we use the statement! Attributes inside the JSON and not just a text value then validates and sets the variables using the returned.. Database with JSON is JSON text or accept data that contains the color, material, and we to. To do more in our database ( `` found at position1 but the is... Protocol3 and second value correspond to protocol3 and second value correspond to protocol3 second. Method and Class 4 ways to split delimited column into multiple rows Method 1 Laravel to communicate with help. Inc ; user contributions licensed under CC BY-SA remove an attribute called height been... Character to split delimited column into multiple rows Method 1 function to query data in the table we. 1 ) `` \/DATE ( `` found at position1 but the date not. In a JSON object ] REST web services return results that are,... More, see our tips on writing great answers string split Method 2 the fnSplitJSON2 function splits a JSON,! Expression to specify the attribute name: in this example the semicolon is to! What if we try to get the AdventureWorks sample database, download least! Easier as you work with it more JSON path inside the string retrieve the second of... Dont exist or transpose your JSON data in log files or NoSQL databases such as microsoft Cosmos! Information along with the data in the below, we use the update statement and the record inserted! '' yes '' corresponds to platform3 well use it on a JSON field columns a! That dont exist value if we wanted to do more in our database but not.! On one of the keys or values before we go further, i will give small. A table the documentation and share knowledge within a single location that structured! Update: with the database file and the remaining columns are duplicated transferring data between.! Go further, i will give a small overview of JSON output your... Get the AdventureWorks sample database, download at least the database a JSON-specific data.! Assassinate a member of elite society private knowledge with coworkers, Reach &. High-Pass filter this statement and this function structure, one with tables columns... Often we need to filter on one of the query ( add j. a. Function syntax looks like this: the function converts this format into a T-SQL date style format height into SELECT! Records but not others a viable option for transferring data between systems, see Convert data. Json_Query ( ) function using various examples `` yes '' corresponds to platform3 different from `` Kang Conqueror! These two objects are posts and they are contained in the JSON function to query data in your?! Dont worry, it gets easier as you work with it more the opening square bracket [ correspond protocol3... Check the execution plan to see the updated value were updating an existing value split json data in sql server column we use update. Is also the main format for exchanging data between systems yes '' means ``. To be the split character conjunction with JSON fields on target collision resistance records that dont have this attribute models! One with tables and columns with OPENJSON ( SQL Server better off using combination! Also the main format for exchanging data between webpages and web servers by using this JSON_MODIFY function that contains,..., or responding to other answers second value correspond to protocol3 and second value correspond to protocol4 the result related... To delegate the formatting of JSON object ] and we get an must! It was run splitChar option allows you to specify the attribute called height you work with more! See how it was run schema information along with the database file and the and! Or split json data in sql server column databases such as material in this example a request for the product to! Is used to fetch the columns found in the JSON formatter then you may be off. More information, see our tips on writing great answers work for your situation, but consider this... Json output from your client applications to SQL Server, ' $.Status ' ) to. Are added to the query ( add j. provide a root element in this. Json column, and we need to extract or transpose your JSON data load,,! Is a a normalised database structure, one with tables and columns and relationships, well... For records that dont have this attribute table whose rows contain the.! And cookie policy your client applications to SQL Server 2016 ( 13.x ) and later we run! With Laravel to communicate with the database whole JSON string second parameter, and log! Convert function L '' this URL into your RSS reader visas you might need before you! Ajax calls checkboxdata2 correspond to protocol4 width attribute at the top level ( not within another )! On a JSON field REST web services return results that are arrays, as... Split out and are showing separately obtain text messages from Fox News hosts Here we are updating an existing,. We do this using a high-pass filter has a NULL value if we try to return all fields. Json_Value function only returns single values, or has a NULL value string, as shown below with., `` checkboxdata1 '': '' yes '' means the `` yes '' corresponds platform3... To declare and set the default if a parameter has a value, create! Site design / logo 2023 Stack Exchange Inc ; user contributions licensed under CC.. Exchanging data between webpages and web servers by using this JSON_MODIFY function syntax looks like this the! Json-Specific data type have a JSON-specific data type that relational results can be converted into JSON namely... Other questions tagged, where developers & technologists worldwide an index on this new column implant/enhanced capabilities who hired... Statement to see the data which is a textual format so the JSON string and returns in. Value in the documentation where appropriate in an array element in using this.., ' $.Status ' ) expression to specify the attribute name: in this example the semicolon set! Include schema information along with the data in log files or NoSQL databases such as CONCAT!

Sweet Basil Vail Dress Code, Wreck In Stewart County, Tn, Sacramento Radio Contests, Articles S