Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Pinto
Aged Yak Warrior
590 Posts |
Posted - 2005-12-13 : 05:52:39
|
| Can anyone point me to a site which explains SQL syntax. ie I want to put brackets around a variable which holds a string of values for an IN clause.Dim mySQLstr As String = "SELECT * from vweAvailableRooms where BD_RoomRef IN '"(" & Me.Session("RoomRefLogin") & ")"'" |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-12-13 : 06:09:23
|
| What does mySQLstr have when printing its value?MadhivananFailing to plan is Planning to fail |
 |
|
|
Pinto
Aged Yak Warrior
590 Posts |
Posted - 2005-12-13 : 06:11:53
|
| Sorted it - thanks, and found a siteDim mySQLstr As String = "SELECT * from vweAvailableRooms where BD_RoomRef IN ('" & Me.Session("RoomRefLogin") & "')"http://www.aspexpress.com/tutorials/tutorial.asp?id=2 |
 |
|
|
|
|
|