11 曹振华

尚未进行身份认证

暂无相关简介

等级
TA的排名 3k+

SQL SERVER 占用资源高的SQL语句

--SQL SERVER 占用资源高的SQL语句:--查询占用cpu高的前 50 个 SQL 语句SELECT total_cpu_time,[total_physical_Reads], total_execution_count, number_of_statements, s2.text --(SELECT SUBSTRING(s2.text, statement_star...

2019-12-03 19:45:05

vue.js 组件

1)自定义组件:MyStudent.js/* 自定义组件 */Vue.component('my-student', { props: ['student'], /* 内建事件my-click */ template: `<li v-bind:id="student.id" v-on:click="componentClick(student.id,student.name);...

2019-10-25 16:15:44

vue.js select

<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <script type="text/javascript" src="jquery-1.10.2.min.js"></script> <s...

2019-10-07 09:58:08

vue.js radio

<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <script type="text/javascript" src="jquery-1.10.2.min.js"></script> <s...

2019-10-07 09:37:00

vue.js checkbox

<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <script type="text/javascript" src="jquery-1.10.2.min.js"></script> <s...

2019-10-06 15:43:26

vue.js循环

1)代码<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> <script type="text/javascript" src="jquery-1.10.2.min.js"></script> ...

2019-10-05 20:45:16

AngularJS 组件

1)主页面(index.html)<!DOCTYPE html><html ng-app="my_app"> <head> <meta charset="utf-8"> <title></title> <script type="text/javascript" src="js/angular.mi...

2019-09-19 20:53:07

C# 泛型 返回不同类型的对象集合

方法 public static List<T> HttpGet<T>(string url) where T : EntityBase { Encoding encoding = Encoding.UTF8; HttpWebRequest request = (HttpWebRequest...

2019-09-04 14:54:14

MySql存储过程

1)创建存储过程(输入值跟字段值相同)CREATE DEFINER=`root`@`localhost` PROCEDURE `pro_student`(sClassName nvarchar(200))BEGIN declare sClassID varchar(50) default ''; select ClassID into sClassID from myclass ...

2019-09-02 23:33:25

MySql Functions

1)创建函数CREATE DEFINER=`root`@`localhost` FUNCTION `fun_studentunum`(classname nvarchar(200)) RETURNS int(32)BEGIN declare num int default 0; select count(1) into num from mystudent s inner...

2019-09-02 22:40:46

AngularJS ng-class

<span class="label" ng-class="{'0':'label-info','1':'label-warning','2':'label-success'}[R.ApproveStatus]">{{R.ApproveStatus|ApprovalType}}</span>

2019-08-18 14:55:30

html5画布实现公司印章效果

<html> <head> <meta charset="UTF-8"> <title>HTML5 Canvas画印章</title> <script type="text/javascript" src="jquery-1.10.2.min.js"></script> </head&gt...

2019-07-25 10:29:52

js div resize

EleResize.js/** * Created by taozh on 2017/5/6. * taozh1982@gmail.com */var EleResize = { _handleResize: function(e) { var ele = e.target || e.srcElement; var trigger = ele.__resizeTrigger...

2019-07-11 19:27:07

C# HttpClient

LenovoUser lenovoUser = null; string url = LenovoPrefix + "user/login_new"; HttpClient httpClient = new HttpClient(); List<KeyValuePair<String, String>&gt...

2019-06-28 10:10:50

AngularJS ng-style

<!DOCTYPE html><html ng-app="my_app"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script src="Scr...

2019-06-23 10:26:36

c# WebService传参解决特殊字符

调用Topic = UrlEncode(en.Msg, System.Text.Encoding.UTF8, false),方法/// <summary> /// 小写转大写,特殊字符特换 /// </summary> /// <param name="strSrc">原字符串</param&gt...

2019-06-01 10:48:06

T-SQL from后面多表查询

USE [test]GO--创建表CREATE TABLE MyClass( ClassID VARCHAR(36) PRIMARY KEY, ClassName NVARCHAR(200))CREATE TABLE MyStudent( StudentID VARCHAR(36) PRIMARY KEY, StudentName NVARCHAR(200),)--插...

2019-05-29 19:23:15

T-SQL获取自增主键

DROP TABLE theTableCREATE TABLE theTable( [id] [int] IDENTITY(1,1) NOT NULL, [name] [nvarchar](20) NULL)--获取自增主键DECLARE @id INTINSERT INTO theTable([name]) VALUES('张三') SELECT @id=@@IDENTITY...

2019-05-23 16:34:16

SQL采用事务(优化语句)操作生产环境数据库

BEGIN TRAN --开启事务update [dbo].[theTable] set name='李四' where id=1select * from [dbo].[theTable]--COMMIT TRAN -- 检查数据是否正确,如果正确提交数据--ROLLBACK TRAN -- 检查数据是否正确,如果错误还原数据--优化语句delete from My...

2019-04-29 19:52:43

C#线程传递对象参数

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Threading.Tasks;namespace ConsoleApplication10{ class Program { ...

2019-04-29 07:47:40

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv1
    勤写标兵Lv1
    授予每个自然周发布1篇到3篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。