The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
DDL is attached in order to answer the following:Â PLEASE EXECUTE in SQL SERVER
Â
-What if you are asked to give the price of a flowing skirt in Cancun? you need two queries. Your first query retrieves the currency ratio for the currency
accepted in Cancun. Your second query hardcodes the currency ratio retrieved in the
first query, in order to determine the price in Cancun. this use case asks for the store location
by name in order to retrieve whatever currency is accepted by that location.
Capture a screenshots of both queries and the results of their execution.
Â
-5. The legal form and size limitation of a value is one significant component that
determines how a value will be displayed in the result of a SQL query, and you get a
chance to explore it for yourself in this step. We now know it is the datatype that
constrains to a set of legal values and a size limitation.
Identify any one of the datatypes referred to in step 4, or even one of another of
your own choosing, that has a size limitation that you can control. Then do the
following:
a. Explain the datatype in a few sentences – the set of legal values allowed by the
datatype, the syntax of specifying the maximum size allowed for the column, and
what the size limitation means for that particular datatype.
b. Create a table with a name of your choosing that has just one column, and give the
column the datatype you identified along with a size limitation of your choosing.
c. Attempt to insert a value that exceeds the size limitation on the column and see
what error message your DBMS gives you.
Make sure to capture screenshots for parts b and c.
Â
D#R#O#P# #T#A#B#L#E# #S#e#l#l#s#;###D#R#O#P# #T#A#B#L#E# #O#f#f#e#r#s#;###D#R#O#P# #T#A#B#L#E# #A#v#a#i#l#a#b#l#e#_#i#n#;###D#R#O#P# #T#A#B#L#E# #S#t#o#r#e#_#l#o#c#a#t#i#o#n#;###D#R#O#P# #T#A#B#L#E# #P#r#o#d#u#c#t#;###D#R#O#P# #T#A#B#L#E# #C#u#r#r#e#n#c#y#;###D#R#O#P# #T#A#B#L#E# #P#u#r#c#h#a#s#e#_#d#e#l#i#v#e#r#y#_#o#f#f#e#r#i#n#g#;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