title: How to "dont select values" in sql?
body: <p>I have application where user inserts name into input box:
  My sql query selects name in the database and it works good.
  Problem occurs when nothing is inserted. the query selects all database names instead of none.
  How do I select nothing if nothing is inserted.</p>
  <p>My query:</p>
  <pre><code>SELECT *
  FROM dbo.BarcodeData
  WHERE ModelioPavadinimas LIKE  @ModelioPavadinimas + '%';
  </code></pre>