09 2024 档案
摘要:SELECT d.name, physical_name FROM sys.master_files f join sys.sysdatabases d on f.database_id = d.dbid where type_desc = 'ROWS'
阅读全文
摘要:示例1: class E { public IEnumerable MyGetEnumerator1() { yield return 1; } public IEnumerable<int> MyGetEnumerator2() { yield return 1; yield return 2;
阅读全文
摘要:--替换商品名称中指定字符为新字符(只替换最前面的英文部分) --修改u_ware 表的商品名,会自动触发修改u_ware_q表的商品名(触发器) --u_chk_ware 表的商品名需要单独修改 --以下代码的作用是:把商品名中前面英文部分中的XX替换为A declare @strOld varc
阅读全文
摘要:1 using System; 2 3 namespace ConsoleApp3_Test 4 { 5 6 internal class Aa 7 { 8 9 static void Main(string[] args) 10 { 11 Stock stock = new Stock("THPW
阅读全文
摘要:public static readonly int b = a + 1; public static readonly int a = 1; public static readonly int c = 1; public static readonly int d = c + 1; public
阅读全文