Abstract
Not to be outdone by the 30 operators in the last chapter, this chapter gives you an in-depth look at SQL Server CE’s 53 powerful, built-in functions. SQL Server CE does a good job of holding its own against big brother SQL Server 2000 in this department. You’re provided with functions that help you with mathematics, string manipulation, and date arithmetic among other things. This chapter serves as a reference guide to all these functions and includes complete descriptions, proper usage syntax, and a working example for each. It’s important that you run these examples and compare your results with mine to ensure that you’re on the right track. Just as in Chapter 7, you’ll need to create a Pocket PC Smart Device Application and place both a DataGrid control and a Button control on the form. You’ll need to reference System.Data.Common and System.Data.SqlServerCe in order to query SQL Server CE and produce DataSets from the data found in the NorthwindDemo.sdf database. The function code examples can be typed into the click event of the button with the results displayed in the DataGrid whenever the button is tapped. A full code example will be provided with the first function description and then only the unique SQL will be displayed in the function examples thereafter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2003 Rob Tiffany
About this chapter
Cite this chapter
Tiffany, R. (2003). Function Reference. In: SQL Server CE Database Development with the .NET Compact Framework. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0785-6_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0785-6_8
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-119-2
Online ISBN: 978-1-4302-0785-6
eBook Packages: Springer Book Archive