Ambientes BIZAGI

Descargar como txt, pdf o txt
Descargar como txt, pdf o txt
Está en la página 1de 2

las credenciales son mikemoya@gmail.

com m3ch12l
pero creo q eso le queda guardado
hasta q me valla de rabon y le elimine su equipo
jajaja

Server=localhost\SQLEXSQLEXPRESSSQLEXPRESSSQLEXPRESSSQLEXPRESSPRESS;Database=master
;Trusted_Connection=True;

select tcl.Nombre,tdc.Nombre, tdop.dsblTipoDocumentoPerson from TipoDocumentoPerson


as tdop

inner join TipoCliente as tcl on tdop.TipoPersona = tcl.idTipoCliente

inner join TipoDocumento as tdc on tdop.TipoDocumento = tdc.idTipoDocumento

select * from BABIZAGICATALOG where objname like '%archivo%'

borra el componente de la base de datos

select guidObject from BABIZAGICATALOG where objTypeName = 'BR_ComponentLibrary'


union
select guidObject from BABIZAGICATALOG where objContent = (select top 1 objContent
from BABIZAGICATALOG where objTypeName = 'BR_ComponentLibrary')

select * from BATAGVALUE where taggedObject IN (select guidObject from


BABIZAGICATALOG where objTypeName = 'BR_ComponentLibrary' union select guidObject
from BABIZAGICATALOG where objContent = (select top 1 objContent from
BABIZAGICATALOG where objTypeName = 'BR_ComponentLibrary'));

select * from BACATALOGREFERENCE where guidObjectRef IN (select guidObject from


BABIZAGICATALOG where objTypeName = 'BR_ComponentLibrary' union select guidObject
from BABIZAGICATALOG where objContent = (select top 1 objContent from
BABIZAGICATALOG where objTypeName = 'BR_ComponentLibrary'))

select * from BATAGVALUE where taggedObject IN ('d5765f1c-414c-4107-ab20-


714588c37f01', '352d0681-1904-4c4e-9cfb-40069faafb41');

select * from BABIZAGICATALOG where guidObject = 'D78312AC-9621-43BA-ACC2-


1815BEA768F2'
select * from BATAGVALUE where taggedObject IN ('D78312AC-9621-43BA-ACC2-
1815BEA768F2')
select * from BACATALOGREFERENCE where guidObjectRef IN ('D78312AC-9621-43BA-ACC2-
1815BEA768F2')

/////////////////////////////////////////////////////

a desarrollo
update BIZAGIINFO set BAValue = 'Development' where BAInfo = 'Environment';
update BADPLENVOPTION SET eoIntvalue = 3 WHERE idEnvOption = 3;
update BAEnvironment set isCurrentEnv = 0;
update BAEnvironment set isCurrentEnv = 1 where idEnvType = 1;

a test:
update Bizagiinfo set BAValue= 'Test' where BAInfo = 'Environment';
update baenvironment set isCurrentEnv = 1 where idBAEnvironment = 3;
update baenvironment set isCurrentEnv = 0 where idBAEnvironment in (1,2);
update badplenvoption set eointvalue = 2 where idenvoption = 3;

produccion:

update Bizagiinfo set BAValue= 'Production' where BAInfo = 'Environment';


update baenvironment set isCurrentEnv = 1 where idBAEnvironment = 2;
update baenvironment set isCurrentEnv = 0 where idBAEnvironment in (1,3);
update badplenvoption set eointvalue = 3 where idenvoption = 3;

borrar basura de una base de datos

Use TestDB
GO
ALTER DATABASE TEstDB SET RECOVERY SIMPLE WITH NO_WAIT
DBCC SHRINKFILE(Colp_Des_log, 1)
ALTER DATABASE TestDB SET RECOVERY FULL WITH NO_WAIT
GO

----------------------------------------
query bizagi

SELECT entName,entDisplayName,idEnt
FROM ENTITY WHERE guidEnt IN(
select guidObjectParent from BABIZAGICATALOG where guidObject
in( select guidEntitySchema from ENTITYSCHEMA)
and dbo.fnBA_DB_BlobToClob(objContent) like '%"XML":""%')

------

select dbo.fnBA_DB_BlobToClob(objContent), guidObjectParent from BABIZAGICATALOG


where guidObject in( select guidEntitySchemaXsl from [dbo].[ENTITYSCHEMAXSL]) ;
select * from ENTITY where guidEnt in('6B0A835F-FBE7-4A3A-A189-
B53BEB6F9EED','6B0A835F-FBE7-4A3A-A189-B53BEB6F9EED');

select * from ENTITY where guidEnt in(


select guidObjectParent from BABIZAGICATALOG where guidObject in(
select guidObjectParent from BABIZAGICATALOG where guidObject in( select
guidEntitySchemaXsl from [dbo].[ENTITYSCHEMAXSL])
)
)

select * from ENTITY where guidEnt in(


select guidObjectParent from BABIZAGICATALOG where guidObject
in('23F2A461-B909-4331-89A8-72F5B94442F1')

select

También podría gustarte