Код: Выделить всё
select *
from :view
Код: Выделить всё
select *
from :view
Код: Выделить всё
Var_array_version_IDs = Set ( f_ExecSQLSelect_2 ('execute lsdbo.custom_proc_get_ver_ids_of_child_objects_wo_rights '+a_Object + ', '+ var_group + ', ~''+ var_ver_rights+'~'', '',';')+';' )
Код: Выделить всё
f_ExecSQLSelect_2(
case(var_my_view
when is = 'my_view_1' then 'select * from lsdbo.my_view_1'
when is = 'my_view_2' then 'select * from lsdbo.my_view_2'
),'',''
)
Код: Выделить всё
(f_EmbeddedSQLSelect ( this , 'select * from :myView' , 'lsdbo.Ric_PSft_view' , ' мой массив ' )
Код: Выделить всё
Select
'' as колонка1
'' as колонка2
'' as колонка3
'' as колонка4
Код: Выделить всё
Select
v1 as колонка1
v2 as колонка2
v3 as колонка3
v4 as колонка4
from lsdbo.....
Код: Выделить всё
temp_str = f_EmbeddedSQLSelect
(this,
'
select link_id
from lsdbo.tree_link_view
where
link_type_id = 1
and
parent_id = :object_id
',
'object_id,number',
'Obj_id_array')
temp_str = string(f_RetrieveForm ( this , 'object_id' , ' Obj_id_Array ' ))
temp_str = f_FormDataToArray ( this , 'Obj_id_Array' )
Код: Выделить всё
temp_str = f_EmbeddedSQLSelect (this,'select 0 as link_id','','Obj_id_array')
Код: Выделить всё
f_EmbeddedSQLSelect ( this , 'Select pObjDescr as pObjDescr, pAtrVendor as pAtrVendor, ~'0~' as pBtAdd, pObjID as pObjID from lsdbo.ric_'+ vProductTypeCurrent +'_view' , '' , 'pFormPrice' )