18,212 questions with SQL Server-related tags

Sort by: Updated
3 answers

Can't be able to add node to a SQL server failover cluster

While adding a node to a Sql server failover cluster, I am getting error like this - Error: The credentials you provided for the Sql server agent service are invalid.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
asked 2020-08-19T05:08:11.483+00:00
AMRITANSHU AMRITANSHU 1 Reputation point
answered 2020-08-26T01:22:51.777+00:00
m 4,271 Reputation points
3 answers

How can two sql servers have different disk read time in same SAN?

I have two sql servers in same SAN. The servers host the databases added in alwayson group. One of the servers is responding well but the other server is responding slowly while running queries. When I look at the disk read time one server has below 1 ms…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
asked 2020-08-19T03:36:12.88+00:00
Surendra Adhikari 211 Reputation points
answered 2020-08-26T01:22:24.447+00:00
m 4,271 Reputation points
2 answers One of the answers was accepted by the question author.

Create a cursor that update field type char value in Sql Server

Hello , i want create a cursor that update column of my table Schools with more than three levels of education are level A, Schools with two levels of education are leveled with category B and other schools are leveled with category C. I tried…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,566 questions
asked 2020-08-25T00:51:44.173+00:00
jonathas moura 21 Reputation points
commented 2020-08-25T22:07:37.11+00:00
Erland Sommarskog 102.6K Reputation points
9 answers

sql server sa account disable

I am working on renaming and disabling the sa account the sa account has been renamed to sa_tmp the dbo user on all databases now show they are associated with the login sa_tmp if I disable the login, how should I handle all the schemas owned by…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
asked 2020-08-25T00:48:10.26+00:00
NeophyteSQL 241 Reputation points
answered 2020-08-25T22:04:09.327+00:00
Erland Sommarskog 102.6K Reputation points
4 answers One of the answers was accepted by the question author.

recovering space just eaten by my rollback

hi i'm sure i just consumed a lot of log space by rolling back the results of an in flight voluminous insert. my c: drive shows i'm down to bare bones. how can i recover that space before i move on? do i need to recover it, ie will sql blow it away…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
asked 2020-08-24T15:55:26.927+00:00
db042190 1,516 Reputation points
answered 2020-08-25T17:48:25.283+00:00
db042190 1,516 Reputation points
2 answers One of the answers was accepted by the question author.

adobe saves report incorrectly

Hi after some work, my subreport which is just one rectangle enclosing various "sub" rectangles etc looks beautiful when saved to word. But ridiculous when saved to pdf. the first sub rectangle prints on pg 2 out of order after the 2nd…

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,836 questions
asked 2020-08-22T15:29:44.32+00:00
db042190 1,516 Reputation points
accepted 2020-08-25T17:42:02.24+00:00
db042190 1,516 Reputation points
1 answer One of the answers was accepted by the question author.

403 error from app requesting report rendering

hi i'm geting particulars on the calling app but a peer of mine trying to render my report from his app got the following error. i reached out to him to determine if he entered the ssrs report directory correctly but if the community can offer insight…

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,836 questions
asked 2020-08-20T15:38:32.423+00:00
db042190 1,516 Reputation points
accepted 2020-08-25T17:36:17.91+00:00
db042190 1,516 Reputation points
7 answers One of the answers was accepted by the question author.

metadata issue

hi , i'll post the rest of the question once i see this new forum doesnt bounce me out

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,475 questions
asked 2020-08-18T20:54:41.257+00:00
db042190 1,516 Reputation points
answered 2020-08-25T17:31:33.9+00:00
db042190 1,516 Reputation points
2 answers One of the answers was accepted by the question author.

Delete command for Oracle table has warning : Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.

I have created an ssis package that processes data on sql server and loads results to an oracle table. I am using an execute sql task to delete existing records in the oracle table before reloading the table. The execute sql command has oracle…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,475 questions
asked 2020-08-24T22:55:22.4+00:00
Anonymous
accepted 2020-08-25T14:22:40.233+00:00
Anonymous
2 answers One of the answers was accepted by the question author.

not able to put is equal to sign (=) in query,

When i am inserting is equal sign= in query code sample then sign (=) in query is not showing in preview, what can be the issue

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,566 questions
asked 2020-08-22T09:21:16.07+00:00
Analyst_SQL 3,551 Reputation points
accepted 2020-08-25T12:22:24.91+00:00
Analyst_SQL 3,551 Reputation points
2 answers One of the answers was accepted by the question author.

Max degree of parallelism (MAXDOP) on SQL Failovered clustered instances.

We have 4 node SQL cluster. Each node has 4 physical processors with 18 cores each, 36 logical processors each. Cluster is running 23 instances, we are going to set "Cost Threshold of Parallelism" = some higher value (50). Currently this is set…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
965 questions
asked 2020-08-24T18:46:22.347+00:00
Vijay Kumar 161 Reputation points
accepted 2020-08-25T09:57:50.83+00:00
Vijay Kumar 161 Reputation points
1 answer One of the answers was accepted by the question author.

Problems with calculation groups in Power BI connected to SSAS (tabular)

Hi guys,   I'm trying to use calculation groups in Power BI that is connected to SSAS (tabular) but I'm having a few problems.   First problem is processing the calculation group, I'm adding the items in Tabular Editor & VS19 and processing…

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,252 questions
asked 2020-08-24T05:02:52.42+00:00
Cameron Wallace 31 Reputation points
accepted 2020-08-25T09:29:59.783+00:00
Cameron Wallace 31 Reputation points
4 answers

SQl server 2008R2 Performance issue after SP3 update

Hello, We have recently applied SP3 KB2979597 and Security Update Patch KB4057113 on Sql server 2008R2 but after that our couple stored procedures runs slow, it's taking almost 4 to 5 hours, but normally it was running under 5 minutes. Any one has…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
asked 2020-08-19T16:39:31.49+00:00
pdsqsql 391 Reputation points
commented 2020-08-25T09:16:52.92+00:00
CathyJi-MSFT 21,101 Reputation points Microsoft Vendor
1 answer

SSRS 2016 allows the display of sensitive parameter in its URL such as Session state token

SSRS 2016 allows the display of sensitive parameter in its URL, such as Session state token. This can be used to manipulate the data being displayed allowing other resources information be visible to other users.

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,836 questions
asked 2020-08-20T09:17:11.547+00:00
Ismael González Briongos 1 Reputation point
commented 2020-08-25T08:58:36.64+00:00
ZoeHui-MSFT 33,946 Reputation points
1 answer

Vulnerable and outdated Jquery and bootstrap version (Integrity)

SSRS 2016 uses vulnerable Jquery 3.3.1 and Bootstrap 3.3.5. A security assessment found that an attacker may use the vulnerable JavaScript framework version to perform malicious attacks. Assessment suggestion for remediation is patching or update to…

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,836 questions
asked 2020-08-20T07:38:43.74+00:00
Ismael González Briongos 1 Reputation point
commented 2020-08-25T08:58:17.857+00:00
ZoeHui-MSFT 33,946 Reputation points
1 answer

Help creating a Report that Combines output of 2 tables and a Query

I'm not sure if this is even possible but wondering if anyone has any advice to help see if? Current doing this in Report Builder 3 I'm hoping to have a report out put something kinda like the below The goal is based on two other tables and…

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,836 questions
asked 2020-08-18T05:02:27.477+00:00
Joshua Reynolds 1 Reputation point
commented 2020-08-25T08:56:46.123+00:00
ZoeHui-MSFT 33,946 Reputation points
1 answer One of the answers was accepted by the question author.

SQL job (email) alert to warn of disk getting full

I am trying to create an alert from SQL server to send me an email when the log or data files for a database are almost about to fill up the disk they reside on. Is anyone able to help with this?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
asked 2020-08-24T04:24:51.263+00:00
RayPaks 31 Reputation points
commented 2020-08-25T08:20:46.957+00:00
RayPaks 31 Reputation points
3 answers

Msg 156, Level 15, State 1, Line 3 Incorrect syntax near the keyword 'CONVERT'.

I have this table that I'm trying to convert "2004-06-08 00:00:00.0000000" Datetime to just Date mm/dd/yyyy. Each row has a unique date. This is the code that I used below. This "Msg 156, Level 15, State 1, Line 3 Incorrect syntax near…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
asked 2020-08-20T19:57:17.57+00:00
Chris Slinko 1 Reputation point
commented 2020-08-25T07:41:00.803+00:00
CathyJi-MSFT 21,101 Reputation points Microsoft Vendor
4 answers

Performance Issues SSAS tabular Matrix drill downs

When i drill down in a powerbi report or when i run the extracted Dax query from dax studio i get massive performance hits for certain queries (takes 10-12 seconds). I have tested these queries using a clear cache query and also monitored the Server the…

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,252 questions
asked 2020-08-19T09:16:56.347+00:00
Datacrunk 1 Reputation point
commented 2020-08-25T07:01:08.87+00:00
Lukas Yu -MSFT 5,816 Reputation points
2 answers

Backup Report for all the Servers - Connectivity issue

Hi, We are collecting Backup Report report from all the servers using SSIS job and storing into Sql 2008R2 Server Database table. We have Full Backup nightly job which is running on the all servers and we are capturing these backup infor from all the…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,955 questions
asked 2020-08-17T21:36:50.733+00:00
pdsqsql 391 Reputation points
commented 2020-08-24T20:13:26.943+00:00
pdsqsql 391 Reputation points