微软MCAD 70-310 实战百题
题目内容

Your Microsoft SQL Server database has a stored procedure named GetCompanyName which accepts one parameter named @CustomerID and returns the appropriate company name.You instantiate a SqlCommand object named STCommand. You need to initialize STCommand to return the company name for @CustomerID with a value of "ALFKI".Which code segment should you use?

2021-12-25

A.STCommand.CommandText = "GetCompanyName, ALFKI") STCommand.Parameters.Add("@CustomerID")

B.STCommand.CommandText = "GetCompanyName"STCommand.Parameters.Add("GetCompanyName", "ALFKI")C . STCommand.CommandText = "@CustomerID"STCommand.Parameters.Add("GetCompanyName", "ALFKI")D. STCommand.CommandText = "GetCompanyName"STCommand.Parameters.Add("@CustomerID", "ALFKI”)

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端