News

If it doesn't return any rows, then I want to do a SELECT INTO #Temp with criteria B. Not sure if it matters, but the first SELECT returns 2 columns and the ELSE Select returns 3.
I'm trying to port an application from SQL Server to MySQL (5.6.4) and running into performance issues. MySQL happens to be running on OS X Server, but this seems more like a UNIX question. SELECT ...