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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-10-07 : 07:43:19
|
| Michael writes "HiI am trying to run a query on a table via an ASP page, I would like all postcodes starting with E1 to E99 and W1 and W99. I have written a loop to generate the select statement, but I get an error message stating that the query is too complex.Thanks in advance" |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2002-10-07 : 08:11:57
|
| where postcode like ('[EW][1-9][ 1-9]%')or something like that.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy.Edited by - nr on 10/07/2002 08:20:21 |
 |
|
|
|
|
|