- Lucas Sdrolias
- PowerBuilder
- Tuesday, 1 May 2018 06:48 PM UTC
Hello,
I need to formulate a query with temporary tables and pass it to a DW to replace the original source. I am using the SNC client (Provider='SQLNCLI11')
For example
SELECT im_item
INTO #temp
FROM im
WHERE im_type='07'
SELECT a.im_item,im_title
FROM im, #temp a
WHERE im.im_item = a.im_item
I use Autocommit=True but I get a weird behavior with StaticBind parameter. When I set it to 0 PB17 crashes, while when I set it to 1 the DW does not return any results.
The above works perfectly with the SYC client. We need to migrate all our applications from ASE to SQL Server.
Any help would be much appreciated.
Regards,
Lucas
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.