I'm trying to run a query which searches for a - in a field then selects all characters before the -
If I use the patindex in a select statement it works fine but as soon as I use openquery command I cannot get it to work.
Can patindex be used in an openquery statement or is there an alternative command?
If I use the patindex in a select statement it works fine but as soon as I use openquery command I cannot get it to work.
Can patindex be used in an openquery statement or is there an alternative command?