多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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.
正确答案:C
答案解析:
进入题库查看解析

微信扫一扫手机做题