Whats the use of semi-colon (;) in OleDbCommand when it doesn't supports multiple Queries

I've been wondering if OleDBCommand doesn't supports multiple queries execution then why ";" is used in it ?

Answers


The semi-colon is the SQL statement terminator. A single statement should be terminated as well, although most parsers don't require it. More info here.


Need Your Help

How to create, manage, associate a session in REST Jersey Web Application

java html5 rest session web-applications

A HTML5 UI is connected to the backend (REST Jersey to business logic to Hibernate and DB).

Calling async handler method causes: Socket must be bound to a local endpoint to perform this operation

c# .net tcp network-programming windows-phone

I created server where I wait for data. When I call AcceptAsync the handling method connectArgs_Accepted is called and that causes exceptions and crash even when method is empty iniside. How to deal