ssms

Can't get SQL Server to start or connect to my local database engine through SSMS

不打扰是莪最后的温柔 提交于 2020-01-10 18:18:48
问题 SQL Server has been working fine but since Friday I have not been able to connect to the database engine in SSMS. This coincided with my having to power the laptop off during a Windows update because it appeared to be hanging (I don't know if these two are related). Since then I have: Gone back to a restore point before the failed update Removed SQL Server 2008 from my machine Installed SQL Server 2012 onto my machine. This failed during the load Removed everything that was labelled SQL

Can't get SQL Server to start or connect to my local database engine through SSMS

与世无争的帅哥 提交于 2020-01-10 18:17:50
问题 SQL Server has been working fine but since Friday I have not been able to connect to the database engine in SSMS. This coincided with my having to power the laptop off during a Windows update because it appeared to be hanging (I don't know if these two are related). Since then I have: Gone back to a restore point before the failed update Removed SQL Server 2008 from my machine Installed SQL Server 2012 onto my machine. This failed during the load Removed everything that was labelled SQL

SSMS crashes when opening Design Query Editor

試著忘記壹切 提交于 2020-01-07 04:46:42
问题 is there a fix for the crash in SQL-Server 2005 Management Studio when you try to open a design-query-editor with a sql-statementent preceding USE database; ? For example: USE DB1; SELECT * FROM Table1; If you mark SELECT * FROM Table1; , you can open the editor succesfully. If you mark both lines, SSMS will crash with a "Microsoft SQL Server Management Studio has stopped working"-Dialog(with the option to debug or close SSMS) and some additional information on this problem f.e.: Problem

Inline table-valued function without a parameter

前提是你 提交于 2020-01-06 12:37:51
问题 I am still pretty new to Azure platform, and learning SQL language. I have a question about creating a user-defined inline Table-valued function (without need a parameter) on Azure platform. Since accessing to Azure platform on my SQL Server Management Studio, whenever I create a log file by using the system built-in function GetDate() , it shows the date and time in UTC time zone, but I want my current time zone (Easter Time Zone) which is 4 hours behind of UTC. So, I am wondering if anyone

msaccess - sql view - autocomplete / intellisense or alternate way to write queries?

无人久伴 提交于 2020-01-06 06:54:23
问题 I have a bit of experience with SQL (still learning), but I want to start using MSAccess. I'm wondering if there is a better way to write SQL (without using design view) then using the SQL View as it doesn't have auto-complete / intellisense. I was thinking that I could connect it to SQL server management studio, but I'd be able to write the query and then be able to keep it within the MSAccess database. Thanks. 回答1: Short answer: No, there isn't. But; a quick google reveals some third party

Create linked server in management studio to SAGE 50 US database using ODBC Data source administrator

假装没事ソ 提交于 2020-01-06 05:40:29
问题 I am trying to create a linked server to SAGE 50 using server in management studio but keep getting an error. I am hoping that someone has done this before and can provide some guidance.I set up and tested "ODBC data source administrator (64bit)" with as seen below and it works for Microsoft access when I used "External data - ODBC database" connection. I then added a linked server with the security tab set up like so using the same credentials that I used to add it to Access like so: And set

Chosen as the deadlock victim on simple Add() -> SaveChanges()

笑着哭i 提交于 2020-01-06 04:51:12
问题 This simple program private static void Main(string[] args) { Parallel.For(0, 1000000, InsertTestEntity); } private static void InsertTestEntity(int i) { using (var dbContext = new TestDbContext()) { dbContext.TestEntities.Add(new TestEntity { HugeString = "Baby shark," + string.Join(", ", Enumerable.Repeat("doo", 500)) }); dbContext.SaveChanges(); } } public class TestEntity { [Key] public int Id { get; set; } public string HugeString { get; set; } } public class TestDbContext : DbContext {

Generating scripts based on condition

折月煮酒 提交于 2020-01-05 09:08:32
问题 The inserts of a certain table(s) can be generated by using SQL Server Management Studio by right clicking on the database -> tasks -> generate scripts, choosing the tables and finally selecting data only. However the table gets bigger with time and I need only the inserts with a certain condition which would only return only a part of the data in that table. Example: there is a table FlightTickets ( TicketId(PK), BuyerId(FK to buyers), FlightId(FK to Flights) ) and I only need the insert

Generating scripts based on condition

核能气质少年 提交于 2020-01-05 09:08:07
问题 The inserts of a certain table(s) can be generated by using SQL Server Management Studio by right clicking on the database -> tasks -> generate scripts, choosing the tables and finally selecting data only. However the table gets bigger with time and I need only the inserts with a certain condition which would only return only a part of the data in that table. Example: there is a table FlightTickets ( TicketId(PK), BuyerId(FK to buyers), FlightId(FK to Flights) ) and I only need the insert

can not access sql server developer sp1 ssis from ssms

▼魔方 西西 提交于 2020-01-05 07:03:14
问题 I am installing Sql server 2016 Sp1 developer on Azure VM Windows 2012 R2 datacenter. The database engine and analysis service (SSAS) are working proerpty however integration service (SSIS) is inaccessible even the service is running. The services are running: but I could not login from SSMS (run as Administrator). The message error is "The specified service does not exist as an installed service": 回答1: On SQL2005, SSIS service doesn't do much - are you sure you need it? This https://social