TAILIEUCHUNG - TRANSACT-SQL

Tham khảo tài liệu 'transact-sql', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Bonus Reference Transact-SQL In Chapter 20 you built SQL statements to retrieve and update rows in a database. You also learned all the variations of the SELECT statement. Some restrictions however can t be expressed with a WHERE clause no matter how complicated. To perform complicated searches many programmers would rather write an application to retrieve the desired rows process them and then display some results. The processing could include running totals formatting of the query s output calculations involving multiple rows of the same table and so on. Most database management systems include extensions which enhance SQL and make it behave more like a programming language. SQL Server provides a set of statements known as Transact-SQL T-SQL . T-SQL recognizes statements that fetch rows from one or more tables flow-control statements like IF. .ELSE and WHILE and numerous functions to manipulate strings numeric values and dates similar to Visual Basic s functions. With T-SQL you can do everything that can be done with SQL as well as program these operations. At the very least you can attach lengthy SQL statements to a database as stored procedures so that you can call them by name. In addition you can use parameters so that the same procedure can act on different data. This chapter is an overview of T-SQL and demonstrates the basic topic with stored procedures that perform complicated tasks on the server. We ll start with the COMPUTE BY statement which allows you to calculate totals on groups of the rows retrieved from the database. This statement looks and feels very much like the straight SQL statements yet it s not part of standard SQL. Then we ll look at T-SQL in depth. If you need to look up a function or how to declare a stored procedure s arguments you can use this chapter as reference material. If you re new to T-SQL you should read this material because T-SQL is a powerful language and if you re working with or plan to switch to SQL Server you ll need it

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.