Back to Blog
Array js slice6/15/2023 The syntax for CREATE TABLE allows the exact size of arrays to be specified, for example: The above command will create a table named sal_emp with a column of type text ( name), a one-dimensional array of type integer ( pay_by_quarter), which represents the employee's salary by quarter, and a two-dimensional array of text ( schedule), which represents the employee's weekly schedule. To illustrate the use of array types, we create this table:Īs shown, an array data type is named by appending square brackets ( ) to the data type name of the array elements.
0 Comments
Read More
Leave a Reply. |