Region OutageTime Loss Customers RestorationTime Cause Assign the BMI values to a new table variable. Calculate body mass index, or BMI, using the values in patients.Weight and patients.Height. This notation is similar to the notation you use to access and assign data to the fields of a structure.įor example, add a BMI variable to patients. Dot notation refers to table variables by name, T.varname, where T is the table and varname is the variable name. Once you have created a table, you can add a new variable at any time by using dot notation. This example shows why tables have rows and variables, not rows and columns. As the BloodPressure variable shows, a table variable itself can have multiple columns. The table is a 5-by-6 table because it has six variables. LastName Age Smoker Height Weight BloodPressure
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |