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 * | |
| FROM T_Site AS St1 | |
| LEFT JOIN T_Site AS St2 | |
| LEFT JOIN T_Building | |
| ON BD_ST_UID = St2.ST_UID | |
| ON St2.SO_UID = St1.ST_UID | |
| -- Is the same as |
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
| ;WITH CTE AS ( | |
| SELECT table_name AS obj_name, OBJECT_DEFINITION(OBJECT_ID(table_name)) AS obj_def FROM INFORMATION_SCHEMA.VIEWS | |
| UNION ALL SELECT specific_name AS obj_name , OBJECT_DEFINITION(OBJECT_ID(specific_name)) AS obj_def FROM INFORMATION_SCHEMA.ROUTINES | |
| ) | |
| SELECT * FROM CTE | |
| WHERE (1=2) | |
| OR obj_def LIKE '%AutoNr%' | |
| OR obj_def LIKE '%copyView%' |
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 | |
| name | |
| ,is_trustworthy_on | |
| ,compatibility_level | |
| ,snapshot_isolation_state_desc | |
| ,recovery_model_desc | |
| --,* | |
| FROM sys.databases | |
| WHERE (1=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
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
| <meta charset="utf-8" /> | |
| <meta http-equiv="cache-control" content="max-age=0" /> | |
| <meta http-equiv="cache-control" content="no-cache" /> | |
| <meta http-equiv="expires" content="0" /> |
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
| IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sp_SCHEMA_SearchInViewsFunctionsProcedures]') AND type in (N'P', N'PC')) | |
| DROP PROCEDURE [dbo].[sp_SCHEMA_SearchInViewsFunctionsProcedures] | |
| GO | |
| -- ====================================================== | |
| -- Author: Stefan Steiger |
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
| using System; | |
| using System.Diagnostics; | |
| namespace SunriseCalculator | |
| { | |
| public class SolarInfo | |
| { | |
| public double SolarDeclination { get; private set; } | |
| public TimeSpan EquationOfTime { get; private set; } | |
| public DateTime Sunrise { get; private set; } |
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
| class LinkModifier { | |
| m_originalLink: string; | |
| m_baseUrl:string; | |
| m_vars: string[]; | |
| constructor(link: string) { | |
| this.m_originalLink = link; | |
| this.getUrlVars(this.m_originalLink); |
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
| // Copyright 2012 Junqing Tan <ivan@mysqlab.net> and The Go Authors | |
| // Use of this source code is governed by a BSD-style | |
| // Part of source code is from Go fcgi package | |
| // Fix bug: Can't recive more than 1 record untill FCGI_END_REQUEST 2012-09-15 | |
| // By: wofeiwo | |
| package fcgiclient | |
| import ( |
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
| namespace TestWindowsApplicaton | |
| { | |
| public class ClipboardHelper | |
| { | |
| private const uint CF_METAFILEPICT = 3; |
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
| package main | |
| import ( | |
| "unicode" | |
| "regexp" | |
| ) | |
| func main() { | |
| str := "\u0308" + "a\u0308" + "o\u0308" + "u\u0308" | |
| println("u\u0308" + "o\u0308" + "a\u0308" + "\u0308" == ReverseGrapheme(str)) |