ssms

can not access sql server developer sp1 ssis from ssms

前提是你 提交于 2020-01-05 07:03:10
问题 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

SQL Server - evaluation period has expired error

泪湿孤枕 提交于 2020-01-05 02:48:25
问题 Yesterday ended trial period of SQL Server 2014 installed on my PC. I decided to use express edition and uninstalled SQL Server 2014 and installed Express edition. But when I open SQL Server Management Studio, there is still an error: evaluation period has expired Afterwards I installed developer edition of SQL Server 2014 which is free now as I understood. The installation was successful but I still have the same error when I open SQL Server Management Studio. How can I use Express or

Which Collation to use for Russian, German and Arabic

二次信任 提交于 2020-01-04 14:21:37
问题 Which Collation shall I use to save Arabic, Russian, English and German Characters to the Database? My column setting is nvarchar(100) I have set it currently to: SQL_Latin1_General_Cp1256_CI_AS It is saving Arabic, German and English but I need to save Russian too. 回答1: I guess you have problems inserting the values. You need to prepend N before the start of the string, otherwise it doesn't work. You're doing: Insert 'bla' into your_table instead of Insert N'bla' into your_table SQL server

SQL Server : alter the Identity seed

心已入冬 提交于 2020-01-04 05:49:13
问题 I am migrating data from one database to another. I have my scripts mostly together already, but I am trying to figure out the best way to make one change to a table in the new database. I have a Customer table. That table has a customer_id column which is the identity column. I want to change the identity seed/increment from (1,1) to (200,1) without changing the customer_ids for the existing data I will be inserting into the table. Old data is 101-108. Basically we want to keep the old data

SQL Azure Migration Wizard - small extra step needed?

久未见 提交于 2020-01-04 05:11:25
问题 I've recently migrated a couple of SQL 2008 databases to Azure using the 3.7 Migration Wizard from CodePlex. After completing the migration, everything works well, except that I don't have all the "normal" right click menu items in Management Studio - e.g. I don't have "Design", "Select Top 1000", etc I think the reason that these items is missing is because the logged in user (my SQL Azure admin) is not a user of the migrated database - or maybe its something else? If I just create a

SQL Server Scripts 2012 Project into Team Foundation Server 2012

▼魔方 西西 提交于 2020-01-04 01:51:49
问题 I have a SQL Server Scripts 2012 Project with multiple SQL queries and stored procedures. We use Team Foundation Server 2012 to manage our source code for our Visual Studio Solutions. How can I check in a SQL Server Scripts 2012 Project into TFS? If it is not possible how can I manage source control on this and allow multiple developers access to it? 回答1: You have a few options, here are two that I have used. 1: Download the TFS 2012 MSSCCI Provider: This plugin allows you to access TFS from

how to enter values in rowguid column?

末鹿安然 提交于 2020-01-03 13:36:07
问题 can anyone please tell me the right way to insert values in the rowguid column of the table? I m using sql server management studio 回答1: use the NEWID() function to generate one: CREATE TABLE myTable(GuidCol uniqueidentifier ,NumCol int) INSERT INTO myTable Values(NEWID(), 4) SELECT * FROM myTable or you can set it as a default value: CREATE TABLE myTable(GuidCol uniqueidentifier DEFAULT NEWSEQUENTIALID() ,NumCol int) INSERT INTO myTable (NumCol) Values(4) SELECT * FROM myTable 回答2: You can

Confirm before delete/update in SQL Management Studio?

六眼飞鱼酱① 提交于 2020-01-03 07:27:10
问题 So for the second day in a row, someone has wiped out an entire table of data as opposed to the one row they were trying to delete because they didn't have the qualified where clause. I've been all up and down the mgmt studio options, but can't find a confirm option. I know other tools for other databases have it. 回答1: I'd suggest that you should always write SELECT statement with WHERE clause first and execute it to actually see what rows will your DELETE command delete. Then just execute

SQL Server Default Database when Query - master

僤鯓⒐⒋嵵緔 提交于 2020-01-03 06:58:04
问题 I've been using SQL Server Management Studio (SSMS) for the last 8 years, and I keep on stumbling upon a problem. When I right click on a Table, and select SELECT TOP 2000 ROWS, the query editor opens up a new file with the query inside. This is nice and all for a quick review of the table. The problem I have is the default database is changed from the actual database to the master database. I have sysadmin rights. The query that gets generated by SSMS, then has the databse, schema, and table

SQL Server Management Studio: prompt for user input

 ̄綄美尐妖づ 提交于 2020-01-02 14:30:47
问题 Is it possible in SQL Server Management Studio to ask the user for input and based on that input proceed? I have a stored procedure which inserts some data into tables. When ever a user executes the stored procedure, I want a message to come up asking if he is sure he wants the stored procedure to execute. If the response is Yes, then continue if No then terminate. 回答1: I recommend writing a small application to handle this. I am not aware of any way to prompt the user for input when running