Query using an update statement

Assignment Help Computer Engineering
Reference no: EM1329195

Here is the issue, a table namedPoints varchar(81) has values stored in a column named Point. There are two columns in the Points table, X and Y. Here is the code that created the table:
REATE TABLE dbo.POINTS (
I INT IDENTITY NOT NULL
,Point varchar(81) NOT NULL
,X decimal(38,10) NULL
,Y decimal(38,10) NULL
)
GO
INSERT dbo.POINTS (Point) VALUES ('(45.123,22.5)')
INSERT dbo.POINTS (Point) VALUES ('(7.95,3.45)')
INSERT dbo.POINTS (Point) VALUES ('(100.2,15.498)')
GO

I need a query using an UPDATE statement to populate X and Y from Point. THe data on the left side of the comma is X and on the right side of the comma is Y. I am guessing that either Substring or Charindex would beused but I am not sure.

Reference no: EM1329195

Questions Cloud

Explain progress report : Explain Progress Report and What are the global considerations for an all-inclusive resort
Supply chain for electric fans : Advantage of any global opportunities available to riordan manufacturing such as lower labor cost
Difference between encapsulation and information hiding : define the difference between encapsulation and information hiding. In addition, I need to explain the role both of these concepts play in helping to make designs more robust and extensible.
Solution to supply chain management : Solution to Supply Chain Management and Supply Chain Management identify the main issues in the chosen area, and contain and reference new learning that has occurred
Query using an update statement : Here is issue, a table namedPoints varchar(81) has values stored in a column named Point. There are two columns in the Points table, X and Y.
Does the airline industry offer attractive opportunities : Does the airline industry offer attractive opportunities for growth?
Student query- supply chain management : ABC car manufacturer is subject to caps on CO2 emissions and would like to assess whether or not it should invest in the technology necessary to make electric vehicles that would reduce the amount of CO2 produced by their vehicles.
Select which currency they wish to display : Expand the "Currency Conversion" program to have a menu of five currencies that allows the user to choose which currency they wish to show in its equivalency to the US dollars.
How are airline industry rival positioned : How are airline industry rival positioned and who is strongly positioned and who is not?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Give a variable whose value is a letter grade

suppose that grade is a variable whose value is a letter grade-- any one of the following letters: 'A', 'B', 'C', 'D', 'E', 'F', 'W', 'I'. Assume further that there are the following int variables, declared and already initialized: acount, bcount,..

  Determine one protocol which works at the osi layer 2

suppose you are Dave Baker, the Senior System Administrator from Minnesota Consulting Group (MCG). The company with which MCG has an ongoing contract wishes to have some basic TCP/IP concepts explained to senior decision-makers.

  Describe the mechanics of Buffer overflows

Prepare a complete tutorial, including an analogy to describe the mechanics and a graphic to support your analogy, on one of the subsequent areas

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Explain two types of health care information systems

Analyze the impact of the effect on organizational decision-making.Make recommendations for implementation and improvements.

  Reconnaissance tools

Enlist some of the popular reconnaissance tools, comparing three of the reconnaissance tools describing the advantages.

  Program that help an elementary school learn multiplication

Computers are playing an increasing role in education. Write a program that will help an elementary school learn multiplication. make Use of a Random object to produce two positive one-digit integers.

  Addressing the ethical issues

She asks you, company's Chief Information Security Officer, for your opinion. Provide your advice whether you agree or disagree along with the CEO, specifically addressing the ethical issues included.

  Program utilizing small basic

Write down a program utilizing the Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum should be less than secondNum). Then utilizing the firstNum and secondNum:

  Solve the problem using python programming

Solve the problem using PYTHON Programming

  Explain the software packages in detail

explain the software packages in detail. analysis of the advantages and disadvantages of each of the software packages used.

  Transmition of the packet

An Ethernet MAC sub layer receives the 1510 bytes of the data from LLC layer. Explain whether the data encapsulation can be within one frame?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd