set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER FUNCTION [dbo].[ufn_getDateOfWeek](@Date Datetime)RETURNS nchar(1)ASBEGIN DECLARE @returnValue nchar(...
分类:
数据库 时间:
2014-10-06 23:57:10
阅读次数:
178
implicit关键字用于声明隐式的用户定义类型转换运算符。(explicit反之)explicit则用于显示转换用户自定义类型。static implicit operator target_type( source_type identifier ){......}隐式转换可以通过消除不必要的类...
分类:
其他好文 时间:
2014-10-06 20:42:10
阅读次数:
207
set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER TRIGGER [insertReplyToic] ON [dbo].[bbsReplyTopic] AFTER insertAS BEGIN --SET NOCOUNT ON; --...
分类:
数据库 时间:
2014-10-06 18:00:20
阅读次数:
230
SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOALTER PROCEDURE [dbo].[GetStuInf]@className nvarchar(50),@Age intasbeginselect * from Students where Clas...
分类:
数据库 时间:
2014-10-05 23:42:09
阅读次数:
312
报错报错:Use of undeclared identifier '_executing' / '_finished';
解决方法如下:...
分类:
Web程序 时间:
2014-10-05 13:16:48
阅读次数:
164
USE [master]GO/****** Object: StoredProcedure [dbo].[sp_who_lock] Script Date: 10/02/2014 06:18:19 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER...
分类:
数据库 时间:
2014-10-02 07:36:46
阅读次数:
221
当APP出现崩溃时,一般会在XCode的Device界面里面出现崩溃日志,大概像这样:Incident Identifier: FBF87174-405D-4F1C-A745-E3D9F7858F4FCrashReporter Key: 31da19c0a9879bc6ca613ad7611c1.....
分类:
移动开发 时间:
2014-09-30 19:43:50
阅读次数:
236
下面是存储过程的创建,用的时候调用就行了/****** Object: StoredProcedure [dbo].[sq_paging] Script Date: 09/10/2014 09:57:54 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER...
分类:
数据库 时间:
2014-09-30 13:58:09
阅读次数:
189
USE [learn2]GO/****** Object: Trigger [dbo].[trigger_AdClass] Script Date: 09/30/2014 09:01:03 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONG...
分类:
数据库 时间:
2014-09-30 13:08:59
阅读次数:
225
在阅读linux源代码的时候,我们经常会发现likely和unlikely,这两个宏语句定义在compiler.h下,#definelikely(x) __builtin_expect(!!(x),1)#defineunlikely(x) __builtin_expect(!!(x),0)这里我们需要先了解__builtin_expect:#define__builtin_expect(x,expected_value)(x)所..
分类:
系统相关 时间:
2014-09-29 17:40:51
阅读次数:
321