create database newtestdb use newtestdbgo drop table t1go create table t1 (id int not null identity(1,1) primary key,vdate datetime default (getdate() ...
分类:
数据库 时间:
2016-05-18 14:28:49
阅读次数:
261
We'll stick with the tradition and use a sort of "Hello World" XML document to illustrate the typical scenario for creating the Java classes and their ...
分类:
其他好文 时间:
2016-05-18 10:47:12
阅读次数:
208
一款很不错的SSH连接工具,win+Linux双向cmd! 秘钥信息 Name: Use Anything You WantCompany: Use Anything You WantSerial: 690313-111999-999313 License is a standard site li ...
分类:
系统相关 时间:
2016-05-18 09:07:56
阅读次数:
964
http://timmurphy.org/tag/mysql/ http://timmurphy.org/2009/11/17/use-schema_name-in-postgresql/ For those moving from MySQL to PostgreSQL, there are a ...
分类:
数据库 时间:
2016-05-18 06:53:50
阅读次数:
258
MySQL数据库的存储过程常规create routinealterexecutesecuritydefiner 在创建存储过程的时候默认是选中相应的数据库(use db_name)所以在编写存储过程时候就不能在存储过程之中编写此语句 delimiter客户端 使用delimiter客户端设置结束符 ...
分类:
数据库 时间:
2016-05-18 01:37:34
阅读次数:
234
此代码基于TP框架, 服务器端命令行运行 PHP index.php Home/Ws/start即可。 注意更改代码 socket代码 <?php namespace Home\Controller;use Think\Controller; use Home\Controller\RedisCon ...
分类:
Web程序 时间:
2016-05-18 00:07:19
阅读次数:
303
controller\helloController.php<?php namespace app\controllers; use yii\web\Controller; class helloController extends Controller { public $layout = "co ...
分类:
其他好文 时间:
2016-05-17 19:23:31
阅读次数:
334
<?php namespace Home\Model; use Think\Model\RelationModel; class AttenModel extends RelationModel { protected $tableName = 'attention'; protected $_li ...
分类:
其他好文 时间:
2016-05-17 19:15:43
阅读次数:
620
一个注意点,就是sqlalchemy 使用create_all()建表的时候,要在 create_all()所在页面import那些表的model sqlalchemy.exc.OperationalError: (_mysql_exceptions.OperationalError) (1074, ...
分类:
其他好文 时间:
2016-05-17 19:14:56
阅读次数:
617
YII基础准备1.命名空间<?php /****假设有三个同名的类,输出的值为A,B,C****/ use a\b\c\apple; use d\e\f\apple as bApple; use g\h\i\apple; $app = new apple();//A $app = new bAppl ...
分类:
其他好文 时间:
2016-05-17 17:22:25
阅读次数:
130