欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > 微软认证考试 > MCTS > MCTS(70-431)

单项选择题

You are responsible for managing a SQL Server 2005 database that stores sales information. Many values in nchar columns in the database tables contain preceding or trailing spaces. You need to implement a mechanism that selects the data from the tables without leading and trailing spaces. Your solution must be available for reuse in Transact-SQL statements and views.
What should you do?()

    A.Create DML triggers that query the inserted and deleted tables.
    B.Create a stored procedure that calls the LTRIM and RTRIM built-in functions.
    C.Create a Transact-SQL function that calls the LTRIM and RTRIM built-in functions.
    D.Call the TRIM built-in function.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题