This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $schema = Yii::app()->db->schema; | |
| $builder = $schema->commandBuilder; | |
| $command = $builder->createFindCommand($schema->getTable('pos_patient_info'), $criteria); | |
| $results = $command->text; | |
| var_dump($results); | |
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTML | |
| ========================================================= | |
| <div class="my-element"> | |
| Hey, this is a blue rectangle with 5px rounded corners on all sides. | |
| </a> | |
| SASS/CSS | |
| ========================================================= |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT * | |
| INTO #Temp2 | |
| FROM | |
| (Select aa.OID, ROW_NUMBER() | |
| OVER (ORDER BY aa.OID) AS RowN | |
| FROM VCG_PersonToTeam_Grid_View aa | |
| inner join CG_UserLog (nolock) bb | |
| on aa.PersonMemberOfTeams = bb.UserID | |
| Where aa.GCRecord is null AND aa.TeamName='E-mail Team' and bb.UserLoggedIn=1 )a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Get list of properties for an object | |
| var dueDateControl = document.querySelectorAll('#DynamicLayoutControl1_DueDate_dtc_24_DueDate_Date_I'); | |
| console.log(Object.getOwnPropertyNames(GetDateTimeControl("DueDate"))); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 118 All Active Incidents 0 0 All active incidents. SDInterfaces.Entities.IIncidentRequest 0 1 1 1 1 0 0 ALL Global Views 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Logically delete the report */ | |
| UPDATE ChangeGear.dbo.CG_ReportEntity | |
| SET GCRecord = 12345 | |
| WHERE NAME = 'New Pie Chart' | |
| /* Check the GCRecord field for the report record*/ | |
| /* If it's null, then that means it's not deleted */ | |
| /* If it's a numeric value, then that mean it is deleted */ | |
| SELECT GCRecord |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| USE [ChangeGear] | |
| GO | |
| /****** Object: StoredProcedure [dbo].[SearchAllTables] Script Date: 07/14/2015 10:22:43 ******/ | |
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| ALTER PROC [dbo].[SearchAllTables] | |
| ( | |
| @SearchStr nvarchar(100) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2015-07-14 06:20:42,215 | ERROR | DevExpress.Xpo.DB.Exceptions.UnableToCreateDBObjectException: Unable to create 'ForeignKey' 'FK_CG_Flex1Ticket_UDF_ForwardEmail'. Parent: 'CG_Flex1Ticket'. Error: Executing Sql 'alter table "dbo"."CG_Flex1Ticket" add constraint "FK_CG_Flex1Ticket_UDF_ForwardEmail" foreign key ("UDF_ForwardEmail") references "dbo"."CG_Principal"("OID") NOT FOR REPLICATION' with parameters '' exception 'System.Data.SqlClient.SqlException (0x80131904): There is already an object named 'FK_CG_Flex1Ticket_UDF_ForwardEmail' in the database. | |
| Could not create constraint. See previous errors. | |
| at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) | |
| at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) | |
| at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) | |
| at S |