show databases;查看所有数据库create database 库名; 创建数据库use 库名; 进入数据库show tables; 查看数据库所有表describe 表名;查看表结构drop database 库名;删除数据库drop table表名 ;删除表/////////////...
分类:
数据库 时间:
2015-05-20 23:41:22
阅读次数:
239
USE [master]GO-- Method 1: I use this methodEXECsp_attach_single_file_db @dbname='TestDb',@physname=N'C:\Program Files\Microsoft SQL Server\MSSQL10.MS...
分类:
数据库 时间:
2015-05-20 20:12:23
阅读次数:
138
1 USE [Mct] 2 GO 3 /****** Object: StoredProcedure [dbo].[P_CountIcCardTradInfo] Script Date: 05/20/2015 09:04:45 ******/ 4 SET ANSI_NULLS ON 5 G...
分类:
数据库 时间:
2015-05-20 13:09:28
阅读次数:
252
出现linker command failed with exit code 1 (use -v to see invocation)这个错误,app下app名的文件夹file not found,而且还跟test有关。
解决放,选择工程,在targets下面选择xxxtests,看到它的general里有一个testing,testing下有个host application,选择它的下拉框,...
分类:
移动开发 时间:
2015-05-20 11:29:15
阅读次数:
173
在SSMS(SQL Server Management Studio)中,右键服务器,然后选择属性。然后数据库设置,再配置数据库默认位置方法二,直接使用sql语句修改USE [master]GOEXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'So...
分类:
数据库 时间:
2015-05-20 00:05:38
阅读次数:
245
I use something similar but thought I'd mention this 'bug' that can happen:when you INSERT '%wa_message' into 'data', bear in mind your typed message ...
分类:
移动开发 时间:
2015-05-20 00:00:35
阅读次数:
212
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
从后往前计算
//用一个数组滚...
分类:
其他好文 时间:
2015-05-19 22:39:04
阅读次数:
151
问题原因:我们在运行tomcat时候一般用8080端口,但是当端口被占用的时候便不能正常使用tomcat并且会造成上述的错误。而端口被占用的原因有很多,这次的原因是因为装好tomcat以后已经启动了一个tomcat再启动就会被占用解决方法:1、如果你先前启动了一个tomcat,先在屏幕右下角找到它然...
分类:
编程语言 时间:
2015-05-19 20:29:56
阅读次数:
152
ArbitrageTime Limit:1000MSMemory Limit:65536KTotal Submissions:17145Accepted:7238DescriptionArbitrage is the use of discrepancies in currency exchange...
分类:
其他好文 时间:
2015-05-19 18:09:30
阅读次数:
190