sqlanywhere

Split/explode comma delimited string with Sybase SQL Anywhere [duplicate]

我们两清 提交于 2019-11-30 14:23:54
问题 This question already has answers here : How do I split a string so I can access item x? (45 answers) Closed 5 years ago . UPDATE: Someone marked this question as duplicate of How do I split a string so I can access item x. But it's different, my question is about Sybase SQL Anywhere, the other is about MS SQL Server. These are two different SQL engines, even if they have the same origin, they have different syntax. So it's not duplicate. I wrote in the first place in description and tags

Inno Setup LoadStringFromFile fails when file is open in another process

点点圈 提交于 2019-11-28 06:06:20
问题 To check to see when a database (SQL Anywhere) is fired up and ready to receive requests I am outputting the database message window to a log (text) file and then attempting to read this using LoadStringFromFile , which I then search for specific text using Pos . The problem is that this fails (I assume) as the file is in use. Exec(strInstallPath + '\Bin32\dbeng17.exe', '-n ' + strEngineName + ' "' + strInstallPath + '\Database\Olympus.db" -n ' + strDatabaseName + ' -gdall -xtcpip -ti0 -c25p