码迷,mamicode.com
首页 >  
搜索关键字:clr    ( 1863个结果
【转】SQL SERVER CLR存储过程实现
最近做一个项目,需要做一个SQL SERVER 2005的CLR的存储过程,研究了一下CLR的实现。为方便以后再使用,在这里总结一下我的实现流程,也供对CLR感兴趣但又不知道如何实现的朋友们做一下参考,如果有不同意见,望多指教。在这里先以实现CLR存储过程为例子来进行说明。 1。首先,启用数据库的C...
分类:数据库   时间:2014-12-07 13:45:58    阅读次数:191
DBscan算法C++实现
#include #define dimense 10 //10维数据 #define N 5005 #define MAX 0xffffff #define clr(a) memset(a,0,sizeof(a)) using namespace std; double radius=60; int min_num=400; int num=5000;//数据量 int k; int now=0...
分类:数据库   时间:2014-12-04 08:49:50    阅读次数:325
最大流EK算法模板
最近学了下最大流算法,大概思想算是懵懵懂懂了,现在想把模板记录下来,以备后面深刻学习之用。 1 #include 2 #include 3 using namespace std; 4 5 #define _clr(x, y) memset(x, y, sizeof (x)) 6 #def...
分类:编程语言   时间:2014-12-04 00:51:47    阅读次数:202
K-means算法C++实现
#include #define dimense 10 //10维数据 #define N 5005 #define MAX 0xffffff #define clr(a) memset(a,0,sizeof(a)) using namespace std; struct Point{ double dir[dimense]; int belong; }; int num=5000...
分类:编程语言   时间:2014-12-03 21:25:59    阅读次数:268
SQL点滴15—在SQL Server 2008中调用C#程序
原文:SQL点滴15—在SQL Server 2008中调用C#程序 T-SQL的在执行普通的查询的时候是很高效的,但是在执行循环,判断这样的语句的时候效率就不那么的高了。这时可以借助CLR了,我们可以在SQL Server 2008中扩展C#程序来完成循环等过程式的查询,或者其他SQL不便实现的功...
分类:数据库   时间:2014-12-03 17:10:05    阅读次数:155
Dijkstra算法求最短路
数据结构课图作业之最短路。 1 #include 2 #include 3 using namespace std; 4 5 #define N 120 6 #define INF 0x3f3f3f3f 7 #define _clr(x, y) memset(x, y, sizeof(x)) ...
分类:编程语言   时间:2014-12-03 14:15:24    阅读次数:112
POJ-3207-Ikki's Story IV - Panda's Trick(2-sat模板)
2-sat模板提。 代码: #include #include #include #include #include #include #include #include #define rep(i,a,b) for(int i=(a);i=(b);i--) #define clr(a,x) memset...
分类:其他好文   时间:2014-12-02 15:18:55    阅读次数:169
[Dynamics AX] CLR return Null in X++
WhenwewanttoreturnnullinX++andassignittoanCLRobject,itwillthrowoutanissuethat"MicrosoftDynamicsanytypecannotbemarshaledtoCLRObject",thisisbecausenullinX++isanytype.SoifwewanttoreturnnullandassignittoanCLRObject,weshouldknowthetypeoftheCLRObject(referwhichcl..
分类:其他好文   时间:2014-12-02 11:59:02    阅读次数:137
在Main方法中设置异常的最后一次捕捉
在做Winfrom程序时,有时会遇到一个异常,可是这个异常不知道在什么地方发生的,程序会自动关闭,然后什么也没有了,在网上找到了一种方法,用来捕捉这种异常。出现这种情况的原因是在程序中某些地方考虑不周全,有异常的情况没有考虑到,但是CLR不会在出错时给出提示(注:有些错误没有捕捉的话会自动弹出错误框...
分类:其他好文   时间:2014-12-01 15:38:40    阅读次数:340
图的广度、深度优先遍历 C语言
以下是老师作为数据结构课的作业的要求,没有什么实际用处和可以探讨和总结的的地方,所以简单代码直接展示。宽度优先遍历: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 #define _clr(x, y) memset(x,...
分类:编程语言   时间:2014-12-01 15:36:46    阅读次数:135
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!