环境 SQLServer 2008 R2 Visual Studio 2010 SQLManagementStudio_x86_CHS 问题描述 编程开发难免会用到 SQLServer 或者 VS2010 ,虽然现在很少做 C/C/C# 的开发了。以前我安装 SQLServer 2008 R2 和 Visual Studio 2010 的顺序是这样的,先安装 SQLServer 2
环境
SQLServer 2008 R2 + Visual Studio 2010 + SQLManagementStudio_x86_CHS
问题描述
编程开发难免会用到SQLServer或者VS2010,虽然现在很少做C/C++/C#的开发了。以前我安装SQLServer 2008 R2和Visual Studio 2010的顺序是这样的,先安装SQLServer 2008 R2,然后安装Visual Studio 2010,这样是不会出现任何问题的。寒假心血来潮,偏偏我又是个叛逆心理很强的人,你叫我这样干我偏不。于是我把他们的安装顺序换了下,先安装Visual Studio 2010,然后安装SQLServer 2008 R2,这样导致的结果是VS2010倒是安上了,可SQLServer怎么都安不上。运行完规则后就不能弹出“已停止工作”对话框。找了很多解决办法,有说尝试SQLServer 2008 开发版的,试过无果,问了很多大牛也没得到很好的解决。
有一天和一个大牛交流了下,C#玩得很熟,Windows的很多东西都有所掌握,自然使用的数据库就是SQLServer了。但是他也没有安装SQLServer 2008 R2,他使用的是Visual Studio 2010自带的SQLServer。我记得自带的是没有图形界面的,我问了下他怎么进行图形化的操作,他说使用的是SQL Management Studio,额,这名字跟SQLServer 2008 R2安装好的图形界面不一样?呵呵。他说这是个图形化的工具,只有一百多M,可以像安装好SQLServer 2008 R2一样进行操作。
所以,安装VS2010后安装不上SQLServer的解决办法就有了。嘿嘿。
解决办法
1. 在官网下载SQL Management Studio,只有一百多M,也不大,对了4G多的SQLServer 2008 R2可谓太小了。下载地址参考下文;
2. 安装好SQL Management Studio,这个只是个工具,所以不会安装服务的。而且这个工具的启动界面、操作界面跟SQLServer 2008 R2带的一致;
3. 要使用SQLServer提供如下两种思路:
a) 使用VS2010自带的SQLServer,还是将就用;
b) 如果没安装VS2010或者安装VS2010时没安装SQLServer组件,那就使用SQL Management Studio远程连接别人的电脑,服务器名称填对方IP,操作别人电脑的数据库是不是很酷。注意,别人的电脑SQLServer Browser服务要开,同时需要把防火墙关了;
4. 对于安装不上SQLServer的友友们来说,本文还是提供了较好的解决。呵呵。
总结
1. 没有解决不了的问题,只有想不到的办法;
2. 实践性的东西要多尝试。
下载地址
英文版
SQL Management Studio英文版下载地址:
http://www.microsoft.com/en-us/download/details.aspx?id=7593
中文版
SQL Management Studio中文版下载地址:
http://www.microsoft.com/zh-cn/download/details.aspx?id=7593

本篇文章给大家带来了关于SQL的相关知识,其中主要介绍了SQL Server使用CROSS APPLY与OUTER APPLY实现连接查询的方法,文中通过示例代码介绍的非常详细,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于SQL server的相关知识,其中主要介绍了SQL SERVER没有自带的解析json函数,需要自建一个函数(表值函数),下面介绍关于SQL Server解析/操作Json格式字段数据的相关资料,希望对大家有帮助。

如何优化sql中的orderBy语句?下面本篇文章给大家介绍一下优化sql中orderBy语句的方法,具有很好的参考价值,希望对大家有所帮助。

monacoeditor创建//创建和设置值if(!this.monacoEditor){this.monacoEditor=monaco.editor.create(this._node,{value:value||code,language:language,...options});this.monacoEditor.onDidChangeModelContent(e=>{constvalue=this.monacoEditor.getValue();//使value和其值保持一致i

本篇文章给大家带来了关于SQL server的相关知识,开窗函数也叫分析函数有两类,一类是聚合开窗函数,一类是排序开窗函数,下面这篇文章主要给大家介绍了关于SQL中开窗函数的相关资料,文中通过实例代码介绍的非常详细,需要的朋友可以参考下。

monacoeditor创建//创建和设置值if(!this.monacoEditor){this.monacoEditor=monaco.editor.create(this._node,{value:value||code,language:language,...options});this.monacoEditor.onDidChangeModelContent(e=>{constvalue=this.monacoEditor.getValue();//使value和其值保持一致i

0x01前言概述小编又在MySQL中发现了一个Double型数据溢出。当我们拿到MySQL里的函数时,小编比较感兴趣的是其中的数学函数,它们也应该包含一些数据类型来保存数值。所以小编就跑去测试看哪些函数会出现溢出错误。然后小编发现,当传递一个大于709的值时,函数exp()就会引起一个溢出错误。mysql>selectexp(709);+-----------------------+|exp(709)|+-----------------------+|8.218407461554972

当某些sql因为不知名原因堵塞时,为了不影响后台服务运行,想要给sql增加执行时间限制,超时后就抛异常,保证后台线程不会因为sql堵塞而堵塞。一、yml全局配置单数据源可以,多数据源时会失效二、java配置类配置成功抛出超时异常。importcom.alibaba.druid.pool.DruidDataSource;importcom.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceBuilder;importorg.apache.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment
