SQL Server
文章平均质量分 84
zencorn
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Create SQL server job with SQL SERVER.
1. Make sure you SQL Server version by using some T-SQL .Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->SELECT SERVERPROPERTY('productversion'),原创 2013-02-17 09:49:00 · 401 阅读 · 0 评论 -
SQL Query XML column. SQL 查询 xml 字段
Work by Jianfei is licensed under a Creative Commons wei 3.0 Unported License. 1. As we knew SQL Server has provided a serices of XML execution function, we can using SQL query to get the fi原创 2013-02-17 09:49:36 · 1405 阅读 · 0 评论 -
SQL Server 汉字 问号
关于SQL server2005中插入汉字变成问号的解决办法 1、右击你所建的数据库,点击“属性”,选择“选项”并点击。将其中的排序规则设置为:Chinese_PRC_CI_AS(选择下拉列表框即可设置),然后“确定“。 2、在表中将你的汉字字段的数据类型设置为nvarchar型或ntext型,设置前最好先将表中的数据全部删除。(不要使用varchar或text型,因为它们只会继续使原创 2013-02-17 09:48:24 · 2846 阅读 · 0 评论 -
SQL2008 T-SQL Note
1. INNER JOINselect a.* ,b.AGAServicePort from MC_Entity a INNER JOIN AGA_Status bON b.AGAServicePort = a.MC_ServicePortwhere a.MC_ServicePort 2. INSERT INTO 2.1 不带列名插进数据原创 2013-02-17 09:48:38 · 259 阅读 · 0 评论 -
Java Ant - SQLExec .SQL File
Work by Jianfei is licensed under a Creative Commons wei 3.0 Unported License. Goal: Using java to run one SQL script file directly .Resource : Download the Java-Ant jar package from http原创 2013-02-17 09:49:09 · 818 阅读 · 0 评论 -
SQL Profiler Practice.
1. Microsoft SQL Server 2008R2->Performance Tools->SQL Server Profiler.2. Before start to run a new Trace for you DB you should to get you DB id by this way; use masterSELECT * FROM sysdataba原创 2013-02-17 09:49:19 · 314 阅读 · 0 评论 -
SQLServer2005 remove log file.
Issue: SQL server does not work when the log file occupied all the disk space.Resolution: Remove the LOG file data .Step:1. Backup your database.2. Detach your database.3. Check the close原创 2013-02-17 09:49:53 · 382 阅读 · 0 评论 -
SQL Server DBCC & Count (*) Count(1) ,Select Count(column)
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->DBCC DROPCLEANBUFFERS;DBCC FREEPROCCACHE ;SET STATISTICS TIME ON;SELECT COUNT(*) FROM EmployeeSET STAT原创 2013-02-17 09:48:45 · 358 阅读 · 0 评论 -
Get all tables list form current DB.
SELECT name From sysobjects WHERE xtype = 'u'原创 2013-02-17 09:49:21 · 365 阅读 · 0 评论
分享