18,344 questions with SQL Server-related tags

Sort by: Updated
2 answers

Reporting URL not working

All, Reporting URL is not working. How to troubleshoot the issue. However http://localhost/Reports is working, and 'http://Servername/Reports' is not working. Please assist to troubleshoot the issue.

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,849 questions
asked 2020-08-24T12:49:20.033+00:00
Vinay Kumar Gandla 1 Reputation point
commented 2020-08-31T06:21:20.943+00:00
ZoeHui-MSFT 34,581 Reputation points
1 answer

SSRS report when run manually in Reporting Services never finishes. Same report when run via a report subscription runs in less than a minute.

I created a report subscription for a SSRS report and it runs and is delivered within one minute. The same report when run manually in Reporting Services never finishes. The report simply calls a stored procedure which selects from a SQL view. …

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,849 questions
asked 2020-08-29T14:23:28.77+00:00
Tom Stone 521 Reputation points
answered 2020-08-31T06:19:21.87+00:00
ZoeHui-MSFT 34,581 Reputation points
1 answer

SSRS report in Visual Studio takes 2 minutes to run, the deployed report when run from Reporting Services takes forever. Why?

I have a report that runs in 2 minutes in Visual Studio connected to the production database (16k rows, 50 columns), but it takes more than 16 minutes when run by Reporting Services in production after deployment (I have to cancel each time). Both…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,849 questions
asked 2020-08-27T17:11:38.327+00:00
Tom Stone 521 Reputation points
commented 2020-08-31T05:48:11.037+00:00
ZoeHui-MSFT 34,581 Reputation points
2 answers

How to decide SQL server 2017 License ? What is user means ? If I use only sa user from application user access then shall I need to purchase that SQL user license ?

How to decide SQL server 2017 License ? What is user means ? If I use only sa user from application user access then shall I need to purchase that SQL user license ?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,577 questions
asked 2020-08-29T13:03:57.127+00:00
Goutam Kumar Das 1 Reputation point
answered 2020-08-31T05:45:22.817+00:00
m 4,271 Reputation points
3 answers

How to upgrade SQL Server 2012 to SQL Server 2017, shall I need to purchase 2017 License.

How to upgrade SQL Server 2012 to SQL Server 2017, shall I need to purchase 2017 License.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,577 questions
asked 2020-08-29T13:01:15.377+00:00
Goutam Kumar Das 1 Reputation point
answered 2020-08-31T05:18:28.68+00:00
m 4,271 Reputation points
1 answer

How to show #ERROR as Zero or as Nothing in matrix cell when groups and calculated field are based on switch-function in SSRS?

Imagine simple BI task: We have two grouping columns and one calculated field. like select group1, group2, sum(sales) Sum_of_sales from dbo.table1 group by group1, group2 When for some combination of grouping columns there's no ROW in dataset -…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,849 questions
asked 2020-08-28T17:31:47.12+00:00
Petr Ilin 1 Reputation point
answered 2020-08-31T04:10:49.113+00:00
ZoeHui-MSFT 34,581 Reputation points
1 answer

Exclude empty rows in Report

I have a table in an RDL file. Empty rows create due to the (Finish) field contains in sql query, (Finish) field not used in the main report. Field (Finish) is used as a parameter to go to the subreport, I cannot delete it. How to exclude…

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,849 questions
asked 2020-08-29T14:27:28.963+00:00
Илья Листратенко 21 Reputation points
answered 2020-08-31T03:08:14.347+00:00
Lukas Yu -MSFT 5,816 Reputation points
1 answer

Is there a stored procedure in SQL server that allows you do perform clustering/kmeans clustering?

My boss is giving me a bunch of data to analyze by using clustering/kmeans methods. Is there a stored procedure in SQL server that allows me to do that?? Thanks

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-24T18:22:42.983+00:00
Tianqi Luo 1 Reputation point
commented 2020-08-31T02:38:29.297+00:00
AmeliaGu-MSFT 13,961 Reputation points Microsoft Vendor
2 answers

which licence MS SQL for a 4 core machine?

Dear, We are a Microsoft ISV partner who deliver a software for the construction industry (.NET solution). In order to ship our solution we use Microsoft SQL Calls which we can buy under out ISV contract at Ingram Micro (see below); However now we…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-27T15:22:09.52+00:00
Ines Van Roie 1 Reputation point
commented 2020-08-31T01:40:06.24+00:00
CathyJi-MSFT 21,111 Reputation points Microsoft Vendor
1 answer

Azure guest user authentications issues - Excel and PowerBI asking for authentications all the time

Hello, I have an Analysis Service instance running on Azure. Based on this AAS, my users are invited as guest users in my AD tenant. And they are allowed to read the data in AAS through Excel or PowerBI. They have accepted the invitations and created…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-25T15:35:56.437+00:00
ZDUAN 1 Reputation point
commented 2020-08-31T01:24:34+00:00
Cris Zhan-MSFT 6,611 Reputation points
3 answers

Rebuilding indexes on 5TB database

We have a 5TB database. Rebuild index job is taking days to complete. Is there any way to rebuild chunk of indexes?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-25T18:58:25.03+00:00
Chaitanya Kiran 101 Reputation points
commented 2020-08-31T01:23:07.85+00:00
Cris Zhan-MSFT 6,611 Reputation points
1 answer

Sql server 2019

Wanted to migrate SQL 2012 databse of size 60 gb to SQL server 2019 Wanted to know what is the memory required for 60gb database .db server is standalone. As there are more than 20000 users will acces the application daily basis. Db Server is on…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,577 questions
asked 2020-08-27T19:16:48.993+00:00
Ravi Shah 1 Reputation point
commented 2020-08-31T01:12:38.083+00:00
Cris Zhan-MSFT 6,611 Reputation points
1 answer

Users that have run a specific metered software program report is blank

Hello This issue is for the Microsoft Endpoint Configuration Manager Software Metering Report Microsoft Endpoint Configuration Manager Version: 1910 Details: I find myself in a unique situation where this software metering report is…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-26T00:17:15.28+00:00
Giovanny Jimenez 1 Reputation point
commented 2020-08-31T01:11:21.06+00:00
Cris Zhan-MSFT 6,611 Reputation points
2 answers

sql server 2016自动备份失败问题

操作步骤: 1、创建用户a,初始密码b; 2、修改密码为c; 3、重新登录用户a,密码c成功; 4、创建自动备份维护计划成功; 5、右键维护计划-执行; 6、执行结果失败:用户名与密码不匹配,账户被锁定; 7、修改用户属性,密码改成初始密码b,并登录验证成功; 8、重新创建自动备份维护计划成功; 9、右键维护计划-执行; 10、执行结果成功; 疑问: 为什么修改密码后创建的自动备份执行失败?而改回初始密码就能执行成功?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-24T08:55:48.163+00:00
存高 范 1 Reputation point
commented 2020-08-31T01:09:25.29+00:00
Cris Zhan-MSFT 6,611 Reputation points
3 answers One of the answers was accepted by the question author.

What SUBSTR() or IN is faster in Oracle?

Would WHERE SUBSTR(my_field,1,6) = 'search' or WHERE my_field IN ('a','b','c','d','f') be faster in Oracle, or would there be no difference? I cannot create temp tables and haven't got the execution plan. Thank you in advance!

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-28T10:17:44.43+00:00
Vasilina Balashevich 21 Reputation points
commented 2020-08-30T20:33:28.16+00:00
Erland Sommarskog 103.5K Reputation points MVP
2 answers

How to change MS SQL services password (without locking an account out..?)

Hello ALL We have a very strange situation and I need your advice. We have AG of two servers and...somebody have missed an SQL Server service account password. Nothing critical, test envirounment. We have changed user's password in AD Users and…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-25T23:23:14.197+00:00
Roman King 21 Reputation points
commented 2020-08-30T18:11:48.48+00:00
Roman King 21 Reputation points
1 answer One of the answers was accepted by the question author.

CDC for Oracle by Attunity - license/support

Hi. We need help on questions regarding CDC for Oracle by Attunity (Service/Designer) from Microsoft Do we need to get a license from Microsoft in order to use this product? (we are currently testing the product with the Service/Designer clients) …

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-28T01:28:39.077+00:00
Carlos Salgar 21 Reputation points
accepted 2020-08-30T11:03:55.173+00:00
Carlos Salgar 21 Reputation points
4 answers One of the answers was accepted by the question author.

Begin tran and row lock

Hi, I'm using begin tran in my code and with this command - I update a row, it locks the whole table, but i want to lock only the updated rows. any idea?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-18T07:29:38.557+00:00
Kodeeswaran Duraisamy 161 Reputation points
commented 2020-08-30T10:50:55.743+00:00
tibor_karaszi@hotmail.com 4,306 Reputation points
11 answers

Parallelism when execution cost lower than Cost of parallelism

why is that.? my cost of parallelism is default 5

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-19T08:37:11.897+00:00
sakuraime 2,321 Reputation points
commented 2020-08-30T10:39:34.51+00:00
tibor_karaszi@hotmail.com 4,306 Reputation points
2 answers

Trancate table and LOB data

where there are still LOB allocation unit after the table is truncated ?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,070 questions
asked 2020-08-28T02:54:57.383+00:00
sakuraime 2,321 Reputation points
commented 2020-08-30T10:36:41.977+00:00
tibor_karaszi@hotmail.com 4,306 Reputation points