Qiestion about update statement

Assignment Help Software Engineering
Reference no: EM1379019

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 constructed 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: EM1379019

Questions Cloud

Implementing reusable code : Many programming languages exist in various libraries and on the Internet and using some of these functions and process, this can permit you to use these technique rather than having to write out the code from scratch on your own.
Creating an idef1x e-r diagram : The scenario is that the Public Affairs Office at Highline University gets requests for speakers on particular topics. To be able to respond to such request, that office wishes to create a database.
Difference between encapsulation and information hiding : Discuss and explain the difference between encapsulation and information hiding. In addition, describe the role both of these concepts play in helping to make designs more robust and extensible.
Indirect port addressing capability : Determine how many ports can the Z8000 address in each I/O addressing mode?
Qiestion about update statement : A table namedPoints varchar(81) has values stored in a column named Point. There are 2-columns in the Points table, X and Y.
Currency conversion event : Expand the Currency Conversion event to have a menu of 5-currencies that allows the user to choose which currency they wish to display in its equivalency to the United States dollars.
Importance of internet to most companies : Discuss how important is the Internet to most corporations? How have corporations improved the sales / service / performance process utilizing the Internet?
Privileges and obligations of a corporation : What should the privileges and obligations of a corporation be from an ethics perspective and how can these be enforced? In a global market, how can a corporation with a strong ethical agenda
Content validation of document : Do you believe that any form of document content validation should be applied to web pages before they are placed in the public domain?

Reviews

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

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