??
use yuyongTest
go
create function dbo.getTotByName(@_name nvarchar(50))
returns int
as
begin
declare @tot int;
set @tot=0;
declare @name nvarchar(50);
set @name='';
declar...
分类:
其他好文 时间:
2015-04-27 16:55:42
阅读次数:
91
1 写个函数自动生成流水号--得到最新编号的函数create function f_newid()returns char(7) --编号位数固定,用char的检索效率高于varcharasbegin declare @re char(7) select @re=max(BHID) ...
分类:
数据库 时间:
2015-04-27 12:47:37
阅读次数:
143
1 def get_selected_list_values(self, locator): 2 """Returns the values of selected elements (as a list) from the select list identified b...
分类:
其他好文 时间:
2015-04-26 16:27:11
阅读次数:
114
1 def get_selected_list_value(self, locator): 2 """Returns the value of the selected element from the select list identified by `locator`...
分类:
其他好文 时间:
2015-04-26 16:26:22
阅读次数:
85
1 def get_selected_list_label(self, locator):2 """Returns the visible label of the selected element from the select list identified by `lo...
分类:
其他好文 时间:
2015-04-26 15:08:13
阅读次数:
148
1 def get_list_items(self, locator):2 """Returns the values in the select list identified by `locator`.3 4 Select list keywords wo...
分类:
其他好文 时间:
2015-04-26 15:08:07
阅读次数:
130
Implement strStr()
Implement strStr().
Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.
解题思路:
1、暴力法。逐一匹配,然后回溯。代码如下,但是产生超时错误。
class...
分类:
其他好文 时间:
2015-04-24 16:23:48
阅读次数:
86
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 integer ’11' has binary representation 000000...
分类:
其他好文 时间:
2015-04-23 10:59:45
阅读次数:
206
file:///C:/Java/jdk-8u45-docs-all/docs/api/index.htmltoStringpublicStringtoString()Returns a string representation of the object. In general, the toSt...
分类:
编程语言 时间:
2015-04-20 22:36:04
阅读次数:
193
dFdy dFdx这两个函数如何理解
笔者更倾向认为这是一个glsl预编译时处理的一个宏,类似c语言的sizeof
the opengl shading language 4.4是这么描述这两个函数的:
Returns the derivative in x using local differencing for the input argument p.
...
分类:
其他好文 时间:
2015-04-20 11:13:50
阅读次数:
164