O'Reilly logo

Sams Teach Yourself ADO.NET in 24 Hours by Paul Bertucci, Jason Lefebvre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Q&A

Q1: Can the Command object apply any SQL query to the data source?
A1: Yep! The Command object can be used to send just about any command to your data source. However, whether or not the command is understood is completely up to the data source. In other words, you can send an Oracle-specific command to Microsoft SQL Server, but you'll most likely receive an exception at runtime.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required