Question

discuss how a database administrator can extract data from a database and convert date\time fields out...

discuss how a database administrator can extract data from a database and convert date\time fields out of the data into a different format (DT_DBTIMESTAMP2 to DT_DBDATE).

Homework Answers

Answer #1

Solution:

The Extraction:

If we employ OLE DB source then we can extract data which contain different methods of extracting data.

some of these methods are given below:

  • The table should be specified in the variable

  • Employment of parameterized query

  • Employing a variable to store the outcome of an SQL statement.

Below steps should be followed in order to access these methods:

  1. In SSDT open the Integration Services project

  2. Select data flow tab and double click OLE DB source

  3. Create a new OLE DB connection manager and now any of the data access methods can be chosen.

DT_DBTIMESTAMP2 to DT_DBDATE(the conversion):

As soon as the data is extracted, the database administrator can store as a string and change it to proper datatime format by employing DT_DBTIMESTAMP2. In the script also Datetime.ParseExact function can be used.

Hit the thumbs up if you liked the answer. :)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1- How can database systems improve data quality and data integrity? 2- Discuss database constraints: Primary...
1- How can database systems improve data quality and data integrity? 2- Discuss database constraints: Primary key, check, and referential integrity constraints? Give an example for each.
Mary a database administrator frequently writes queries that combines the data in the Students Table with...
Mary a database administrator frequently writes queries that combines the data in the Students Table with that in the CourseRegistration using Cartesian Products then filtering the data to obtain the course Registrations of a student. Mary also frequently queries for students who have registered for no course using the syntax CourseCount<1. Identity any three improvements that can be made to the performance of the student management system database from this description and write the appropriate best performing versions of each...
Hi, in MATLAB how do you convert date and time (dd-mm-yy mm:ss:S) into time only (mm:ss.S)?
Hi, in MATLAB how do you convert date and time (dd-mm-yy mm:ss:S) into time only (mm:ss.S)?
Discuss the historical development of database management systems and logical data models, starting from the file-based...
Discuss the historical development of database management systems and logical data models, starting from the file-based system of the past to today. Make sure you explain why databases were developed.
Explain how to extract steganographic sequestered data from an identified image files while conserving their integrity.
Explain how to extract steganographic sequestered data from an identified image files while conserving their integrity.
How can we find the characterstics of risk and return from stock price vs date graph...
How can we find the characterstics of risk and return from stock price vs date graph for different companies.
How can you get the Access, Modify and Change date & time of the file "f1"?...
How can you get the Access, Modify and Change date & time of the file "f1"? This question is about in Linux
Explain logistic regression for classifying data, and discuss how it is different from linear regression. Provide...
Explain logistic regression for classifying data, and discuss how it is different from linear regression. Provide an example to illustrate the difference that is taken from your own workplace (past or present)?
Please type out answer Please discuss the concepts of Responsibility Accounting and how it can be...
Please type out answer Please discuss the concepts of Responsibility Accounting and how it can be used as a managerial tool. Please provide several examples to support your response. Please define and discuss the various quality costs and how the analysis of these costs can improve the profitability and efficiency of an organization.
In this forum, discuss the difference between data and information and why data are a valuable...
In this forum, discuss the difference between data and information and why data are a valuable business asset requiring careful management. Explain what is a database and list the various types of databases. Why are databases valuable assets for decision making? Comment on how modern databases evolved from file systems. Submission Format: Your responses to two other students' posts also must be thoughtful, 5 or more sentences long, and lead to and promote more discussion. Relevant and reputable citations/sources were...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT