随笔分类 -  数据库编程

SQLSever,Oracle,PostgreSQL,MySQL,DB2,SQLite,MongoDB,HBase
摘要:http://dcx.sybase.com/1101/en/dbprogramming_en11/ianywhere-data-sqlanywhere-saconnection-getschem6330755502-0.html http://razorsql.com/articles/sybase 阅读全文
posted @ 2018-02-09 11:28 ®Geovin Du Dream Park™ 阅读(492) 评论(0) 推荐(0) 编辑
摘要:讀取數据如下: http://www.dofactory.com/reference/connection-strings ARSoft.Tools.Net2.2.dll https://github.com/alexreinert/ARSoft.Tools.Net 阅读全文
posted @ 2018-02-08 16:06 ®Geovin Du Dream Park™ 阅读(657) 评论(0) 推荐(0) 编辑
摘要:https://github.com/mono/old-code https://wiki.scn.sap.com/wiki/display/SQLANY/SQL+Anywhere+and+Microsoft+.NET http://www.mono-project.com/docs/databas 阅读全文
posted @ 2018-02-05 17:42 ®Geovin Du Dream Park™ 阅读(1413) 评论(1) 推荐(1) 编辑
摘要:运行pgAdmin出现”pgAdmin 4 the application server could not be contant“ 窗口。 参考:https://stackoverflow.com/questions/40083391/postgresql-cant-connect-applica 阅读全文
posted @ 2017-12-25 13:26 ®Geovin Du Dream Park™ 阅读(3600) 评论(0) 推荐(1) 编辑
摘要:--step 1 : 修改数据库名称 USE master GO ALTER DATABASE GeovinDuCms SET SINGLE_USER WITH ROLLBACK IMMEDIATE GO EXEC master..sp_renamedb 'GeovinDuCms','DuCms' GO ALTER DATABASE DB_SHANGHAI SET MULTI_USER GO ... 阅读全文
posted @ 2017-10-17 17:52 ®Geovin Du Dream Park™ 阅读(714) 评论(0) 推荐(0) 编辑
摘要:---涂聚文 2017-9-28 SELECT VipExamMailProjectId,VipExamMailStaffID FROM VipExamMailRecord WHERE VipExamMailProjectId = 1 GROUP BY VipExamMailStaffID,VipExamMailProjectId HAVING COUNT(1)>1 ORDER ... 阅读全文
posted @ 2017-09-27 17:08 ®Geovin Du Dream Park™ 阅读(770) 评论(0) 推荐(1) 编辑
摘要:--------------------------------------------------------------------- -- Inside Microsoft SQL Server 2008: T-SQL Querying (MSPress, 2009) -- Chapter 12 - Graphs, Trees, Hierarchies and Recursive Quer... 阅读全文
posted @ 2017-09-12 15:08 ®Geovin Du Dream Park™ 阅读(329) 评论(0) 推荐(0) 编辑
摘要:MySQL: sql server : SQL Server Metadata Toolkit 2005 - 2014 https://sqlmetadata.codeplex.com/ Automatic Graph Layout https://github.com/Microsoft/auto 阅读全文
posted @ 2017-07-05 10:08 ®Geovin Du Dream Park™ 阅读(345) 评论(0) 推荐(0) 编辑
摘要:---查看所有存储过程或视图的位置 select a.name,a.[type],b.[definition] from sys.all_objects a,sys.sql_modules b where a.is_ms_shipped=0 and a.object_id = b.object_id and a.[type] in ('P','V','AF') order by a.[nam... 阅读全文
posted @ 2017-06-27 16:11 ®Geovin Du Dream Park™ 阅读(542) 评论(0) 推荐(0) 编辑
摘要:--------------------------------------------------------------------- -- Road System 道路 --------------------------------------------------------------------- -- Listing 9-3: DDL & Sample Data for C... 阅读全文
posted @ 2017-06-19 15:56 ®Geovin Du Dream Park™ 阅读(511) 评论(0) 推荐(1) 编辑
摘要:https://www.codeproject.com/Articles/16179/The-Monty-Hall-Problem-C-Solution https://www.codeproject.com/Articles/30473/Monty-Hall-Paradox-Illustrated 阅读全文
posted @ 2017-06-19 09:45 ®Geovin Du Dream Park™ 阅读(447) 评论(0) 推荐(0) 编辑
摘要:https://www.microsoft.com/mspress/companion/0-7356-2313-9/ https://www.microsoftpressstore.com/store/inside-microsoft-sql-server-2008-t-sql-querying-9 阅读全文
posted @ 2017-06-16 17:01 ®Geovin Du Dream Park™ 阅读(553) 评论(0) 推荐(0) 编辑
摘要:https://ask.sqlservercentral.com/questions/16078/schema-and-role-permissions-for-all-users-in-a-dat.html 阅读全文
posted @ 2017-05-17 12:47 ®Geovin Du Dream Park™ 阅读(405) 评论(0) 推荐(0) 编辑
摘要:备注描述另种写法: 阅读全文
posted @ 2017-05-11 00:53 ®Geovin Du Dream Park™ 阅读(231) 评论(0) 推荐(0) 编辑
摘要:1.视图 a. CREATE ALGORITHM = UNDEFINED DEFINER = `root`@`localhost` SQL SECURITY INVOKER VIEW `sakila`.`actor_info` AS SELECT `a`.`actor_id` AS `actor_id`, `a`.`firs... 阅读全文
posted @ 2016-10-11 17:26 ®Geovin Du Dream Park™ 阅读(398) 评论(0) 推荐(0) 编辑
摘要:select ProductGUID,ProductName,ProjectGUID from dbo.Product/*F637A079-E22B-4E50-87E9-000147B1B1F4产品5 4CB304EF-2135-43E7-90D6-B03B75CB491B C731BDB9-143... 阅读全文
posted @ 2015-12-07 15:36 ®Geovin Du Dream Park™ 阅读(413) 评论(0) 推荐(0) 编辑
摘要:--查看表生成脚本 sql server --- '\r'是回车,'\n'是换行 /t相当于键盘的Tab键 --- 操作系统的不同,换行符操也不同:/r Mac /n Unix/Linux /r/n WindowsUSE [master] --设定为系统用的,就是在各数据库中都可以调用... 阅读全文
posted @ 2015-09-22 11:20 ®Geovin Du Dream Park™ 阅读(791) 评论(0) 推荐(0) 编辑
摘要:-- Oracle 11 G --20160921 涂聚文再次修改 --Geovin Du --GetTables SELECT owner, object_name, created FROM all_objects WHERE (owner in ( select USERNAME from user_users )) AND object_type = 'TABLE' ORDER BY... 阅读全文
posted @ 2015-09-18 15:02 ®Geovin Du Dream Park™ 阅读(1078) 评论(0) 推荐(0) 编辑
摘要:#数据库MySQL 6.7use sakila;#查询表名show tables;#SELECT TABLE_NAME,TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='sakila';select column_name f... 阅读全文
posted @ 2015-09-18 12:34 ®Geovin Du Dream Park™ 阅读(407) 评论(0) 推荐(0) 编辑
摘要:安装配置:Install MongoDB on Windows(安装配置官方参考) http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/1.Run MongoDBC:\Program Files\MongoDB\Ser... 阅读全文
posted @ 2015-09-09 17:04 ®Geovin Du Dream Park™ 阅读(594) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示