Answer the question
In order to leave comments, you need to log in
How to find out the text of the SQL query that 1C sends to the database?
I have, for example, a query like this:
select Контрагент, max(Период) as Период
from РегистрыНакопления.Продажи
group by Контрагент
Answer the question
In order to leave comments, you need to log in
It is possible through the technology magazine. Create a directory on the 1C server %ProgramFiles%\1cv82\conf file logcfg.xml
<?xml version="1.0" encoding="utf-8"?>
<config xmlns="http://v8.1c.ru/v8/tech-log">
<log location="c:\ProgramData\1cv82\logs" history="1">
<event>
<eq property="name" value="dbmssql"/>
</event>
<property name="sql"></property>
</log>
</config>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question