How to use prepared property?

Forum related to MS SQL Server

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
zhuyl
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.11.2021, 09:09

How to use prepared property?

Post by zhuyl »

hello,How to use prepared property? My test cannot execute the prepared SQL statement 。
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: How to use prepared property?

Post by marsupilami »

Prepared usually only prepares internal structures. It should not be necesary to set ist. If it doesn't work for you, please don't use it.
zhuyl
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.11.2021, 09:09

Re: How to use prepared property?

Post by zhuyl »

How to prepare SQL statements to improve execution speed?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: How to use prepared property?

Post by marsupilami »

With FreeTDS there is no possibility to prepare statements. The dblib api that gets used by FreeTDS doesn't allow to use parameters and prepare statements. This is better done using ODBC and Zeos 8.
Post Reply