代码清理:USE[master] GO ALTER DATABASE 表名 SET RECOVERY SIMPLE WITH NO_WAIT GO ALTER DATABASE 表名 SET RECOVERY SIMPLE --简单模式 GO USE 表名 GO DBCC SHRINKFILE (N...
分类:
数据库 时间:
2014-07-22 00:33:37
阅读次数:
232
首先安装git插件,在Eclispe中,Help->Install New Software.
输入地址http://download.eclipse.org/egit/updates接着一路下一步,插件就安装好了。
在Eclipse中创建一个工程。然后在工程上右击->Team->Share project->git->next.
选择Use or create re...
分类:
系统相关 时间:
2014-07-22 00:29:36
阅读次数:
311
yii2中使用顶部导航的具体方法:1.视图中调用两个类:use yii\bootstrap\Nav;use yii\bootstrap\NavBar;2. 'My Company', 'brandUrl' => Yii::$app->homeUrl, 'options' => [ 'class' =...
分类:
其他好文 时间:
2014-07-22 00:27:36
阅读次数:
474
USE [TKPOS_WuJing]GO/****** Object: StoredProcedure [dbo].[sp_get_saleData] Script Date: 07/21/2014 11:20:54 ******/SET ANSI_NULLS ONGOSET QUOTED_...
分类:
其他好文 时间:
2014-07-21 14:35:53
阅读次数:
238
use master ;查询数据库:select * from sysdatabases where dbid>4 ;查询表:SELECT * FROM SysObjects Where XType='U' ORDER BY Name查询列:select b.name as tableName,a....
分类:
数据库 时间:
2014-07-21 14:05:35
阅读次数:
195
Classic recursion\pruning problem. We can use O(n) space: A[i] = j means [i,j] is occupied.class Solution {public: int ret; bool isValid(int *A,...
分类:
其他好文 时间:
2014-07-21 11:08:20
阅读次数:
240
mysql中怎样查看和删除唯一索引。查看唯一索引:show index from mytable;//mytable 是表名查询结果例如以下:查询到唯一索引后,怎样删除唯一索引呢,使用例如以下命令:alter table mytable drop indexmdl_tag_use_ix;//mdl_...
分类:
数据库 时间:
2014-07-21 09:36:50
阅读次数:
226
1 USE [MapCDE_1] 2 GO 3 /****** Object: StoredProcedure [dbo].[sp_getLocations] Script Date: 04/21/2014 11:27:20 ******/ 4 SET ANSI_NULLS ON ...
分类:
其他好文 时间:
2014-07-21 08:27:55
阅读次数:
336
1-->在DOS窗口下输入net stop mysql572-->切换到mysql的bin目录,运行mysqld --skip-grant-tables3-->新开DOS,切换到bin目录,运行mysql -u root4-->use mysqlupdate user set password=pa...
Problem Description
Whuacmers use coins.They have coins of value A1,A2,A3...An Silverland dollar. One day Hibix opened purse and found there were some coins. He decided to buy a very nice watch in...
分类:
其他好文 时间:
2014-07-20 23:01:28
阅读次数:
271