Grzegorz Gąsiewski has completed
Functions for Manipulating Data in SQL Server
Start course For Free4 hours
4,600 XP
Loved by learners at thousands of companies
Course Description
In this course, you will learn how to make use of the most important functions for manipulating data provided by SQL Server. You can use these functions for processing and transforming data to get the results you want.
For Business
Training 2 or more people?
Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more- 1
Choosing the appropriate data type
FreeIn this chapter, you will learn what are the most used data types in SQL Server. You will understand the differences between implicit and explicit conversion and how each type of conversion manifests. You will also get familiar with the functions used for explicitly converting data: CAST() and CONVERT().
Welcome to this course!50 xpWorking with different types of data100 xpStoring dates in a database100 xpTypes of character strings50 xpImplicit conversion50 xpImplicit conversion between data types100 xpData type precedence100 xpExplicit conversion50 xpCASTing data100 xpCONVERTing data100 xpWorking with the correct data types100 xp - 2
Manipulating time
Date and time functions are an important topic for databases. In this chapter, you will get familiar with the most common functions for date and time manipulation. You will learn how to retrieve the current date, only parts from a date, to assemble a date from pieces and to check if an expression is a valid date or not.
Functions that return system date and time50 xpGet the know the system date and time functions100 xpSelecting parts of the system's date and time100 xpFunctions returning date and time parts50 xpExtracting parts from a date100 xpGenerating descriptive date parts100 xpPresenting parts of a date100 xpCreating a date from parts100 xpPerforming arithmetic operations on dates50 xpArithmetic operations with dates50 xpModifying the value of a date100 xpCalculating the difference between dates100 xpValidating if an expression is a date50 xpChanging the date format100 xpChanging the default language100 xpCorrectly applying different date functions100 xp - 3
Working With Strings
Strings are one of the most commonly used data types in databases. It's important to know what you can do with them. In this chapter, you will learn how to manipulate strings, to get the results you want.
Functions for positions50 xpCalculating the length of a string100 xpLooking for a string within a string100 xpLooking for a pattern within a string100 xpFunctions for string transformation50 xpChanging to lowercase and uppercase100 xpUsing the beginning or end of a string100 xpExtracting a substring100 xpReplacing parts of a string100 xpFunctions manipulating groups of strings50 xpConcatenating data100 xpAggregating strings100 xpSplitting a string into pieces100 xpApplying various string functions on data100 xp - 4
Recognizing Numeric Data Properties
In this chapter, you will work with functions applied to numeric data. You will use aggregate functions for calculating the minimum, maximum or the sum of values from a set. You will learn how to raise a number to a power or to calculate its square root.
Aggregate arithmetic functions50 xpLearning how to count and add100 xpMINimizing and MAXimizing some results100 xpAnalytic functions50 xpAccessing values from the next row100 xpAccessing values from the previous row100 xpGetting the first and last value100 xpMathematical functions50 xpExtracting the sign and the absolute value100 xpRounding numbers100 xpWorking with exponential functions100 xpManipulating numeric data100 xpWrapping things up50 xp
For Business
Training 2 or more people?
Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and moreAna Voicu
See MoreSoftware Developer
Ana Voicu is a software developer, passionate about databases, Business Intelligence, and data science. She works on developing enterprise level BI solutions for various types of industries, with a focus on performance optimization, pattern recognition, efficient analysis of the business processes, and interactive visualizations. What Ana loves most is overcoming challenges related to database performance by finding the most efficient way to solve an issue.
Ana loves sharing her knowledge with others and constantly tries to find ways to make things understandable.
When she’s not traveling to all sorts of places, you can find her at home, raising pigeons and learning to play the piano.
Join over 14 million learners and start Functions for Manipulating Data in SQL Server today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.