|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Friday, February 15, 2013 10:33 AM
Points: 976,
Visits: 48
|
|
Yes the way tmorton suggested is certainly better. I got too caught up with using DATEPART and failed to find a simpler way.
Robert Marda
Robert W. Marda SQL Programmer Ipreo
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, July 12, 2012 6:54 PM
Points: 1,
Visits: 6
|
|
Hi,
I have a question regarding dynamic SQL / Static SQL.
I have written queries along with code in VB.NET & not in SP.
Example : SELECT * FROM TABLE WHERE COLUMN1 = ? AND COLUMN2 = ?
? are variables either string or int.
Above Query is Dynamic SQL or Static SQL?
|
|
|
|