数据库技术-周排行
1、查看某用户的表权限select*frominformation_schema.table_privilegeswheregrantee=‘user_name‘;2、查看usage权限表select*frominformation_schema.usage_privilegeswheregrantee=‘user_name‘;3、查看存储过程函数相关权限表select*frominformation_schema.routine_privilege..
分类:数据库技术 时间:2014-07-15 11:02:11 收藏:0 阅读:644
/// /// 获取Excel文件 /// /// /// private void button1_Click(object sender, EventArgs e) { ...
分类:数据库技术 时间:2014-07-19 11:36:35 收藏:0 阅读:451
在安装 subversion时候 #tar xvjf subversion-1.6.3.tar # ./configure --prefix=/data1/subversion --with-apxs=/data1/apache2/bin/apxs ?--with-apr-util=/data1/apache2/bin/apu-1-config --with-apr=/d...
分类:数据库技术 时间:2014-07-21 10:18:54 收藏:0 阅读:671
This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'的意思是,这版本的 MySQL 不支持使用 LIMIT 子句的 IN/ALL/ANY/SOME 子查询,即是支持非 IN/ALL/ANY/SOME ...
分类:数据库技术 时间:2014-07-21 14:13:45 收藏:0 阅读:375
数据库创建用户,指定访问视图...
分类:数据库技术 时间:2014-07-21 23:27:22 收藏:0 阅读:882
错误#1 22:26 2014-7-30 重置连接数对实例->属性->连接->最大并发连接数不是特别理解,昨天下午心血来潮,把连接数改成1,不断开启新的查询窗口,并没有按预想的出错(当时没有重启数据库服务)。今天早上打开电脑,打开对象资源管理器,连接到服务器时报错。查看ERRORLOG,错误信息很明...
分类:数据库技术 时间:2014-07-30 23:45:25 收藏:0 阅读:782
在MS Sql数据库中,如果table中的某column数据类型设计为ntext或者text,做查询匹配时,用=操作会引起: The data types ntext and varchar are incompatible in the equal tooperator.因为用‘’引起来的字符串....
分类:数据库技术 时间:2014-08-01 12:46:21 收藏:0 阅读:481
create database link test_link connect to xx identified by xx using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.xx.x...
分类:数据库技术 时间:2014-08-01 18:42:32 收藏:0 阅读:599
上一篇介绍了因为子表过多,导致innodb crash的情况,但crash的原因是long semaphore waits。long semaphore waits又为何物?背景:Innodb使用了mutex和rw_lock来保护内存数据结构,同步的机制要么是互斥,要么是读写阻塞的模式, Innod...
分类:数据库技术 时间:2014-08-09 22:59:39 收藏:0 阅读:653
在CentOS6.5下将自带的python2.6升级到python2.7,并安装了ipython,启动ipython后显示如下信息:WARNING: IPython History requires SQLite, your history will not be saved解决方法如下:下载并解压...
分类:数据库技术 时间:2014-08-10 12:40:30 收藏:0 阅读:2171
1.检查从库show slave status \G;Slave_IO_Running: YesSlave_SQL_Running: No2.出现类似如下的报错:Last_SQL_Error: Error 'Duplicate entry '1001-164761-0' for key 'PRIMA...
分类:数据库技术 时间:2014-08-12 18:40:54 收藏:0 阅读:409
sqlite删除字段时提示附近有语法错误,怎么解决呢?sqlite中ALTER TABLE语句不支持DROP COLUMN,只有RENAME 和ADD 解决办法: 1.创建一个临时表,把除了要删的字段以外的字段加上 create table _temp as select _id,name,age,balance from person; select * from _temp; 2.删...
分类:数据库技术 时间:2014-08-15 12:57:08 收藏:0 阅读:2292
ALTER PROC [dbo].[Student_Friend_Get] @startRowIndexId INT, @maxNumberRows INT, @schoolId INT, @gradeId INT, @cI...
分类:数据库技术 时间:2014-08-16 10:54:00 收藏:0 阅读:943
--查看表的索引使用情况SELECT TOP 1000o.name AS 表名, i.name AS 索引名, i.index_id AS 索引id, dm_ius.user_seeks AS 搜索次数, dm_ius.user_scans AS 扫描次数, dm_ius.user_lookups ...
分类:数据库技术 时间:2014-08-18 10:29:34 收藏:0 阅读:959
这里针对的是 9.3 版本。如是其他版下面的仅供参考。 1、如果是postgresql.app的形式,这个简单,跟其他app一样,删除app即可。 2、如果是使用installer图形界面方式安装的。则需要打开终端命令行。 3、执行 open...
分类:数据库技术 时间:2014-08-20 19:46:23 收藏:0 阅读:3568
一、查看文件安装路径 由于软件安装的地方不止一个地方,所有先说查看文件安装的所有路径(地址)。 这里以mysql为例。比如说我安装了mysql,但是不知道文件都安装在哪些地方、放在哪些文件夹里,可以用下面的命令查...
分类:数据库技术 时间:2014-08-28 16:21:20 收藏:0 阅读:309
public class UserInfoDB : BaseDB { public UserInfoDB() : base(@"Data Source=isostore:\MakeLove\Database\Love.sdf") { ...
分类:数据库技术 时间:2014-08-29 13:02:37 收藏:0 阅读:212
--按日 select sum(consume),day([date]) from consume_record where year([date]) = '2006' group by day([date]) --按周quarter select sum(consume),datename(wee...
分类:数据库技术 时间:2014-08-31 10:23:31 收藏:0 阅读:525
1. copy standby control file from primary db to standby db and rename the file name and location in stdby db same as the primary db2. copy password fi...
分类:数据库技术 时间:2014-08-31 15:48:51 收藏:0 阅读:912
解决方法:为什么没有这个文件而MySQL却也能正常启动和使用,这个有两说法:1、my.cnf只是MySQL启动时的一个参数文件,可以没有它,这时MySQL会用内置的默认参数启动;2、MySQL在启动时自动使用/usr/share/mysql/my-medium.cnf文件,这种说法仅限于rpm包安装的MySQL。解决方法..
分类:数据库技术 时间:2014-09-03 13:16:07 收藏:0 阅读:338
1848586878810978
上一页219544下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!