18,076 questions with SQL Server-related tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

SSIS Script Task

I have a table which has the list of files in a column Column values are File1.csv, File2.csv etc. Now in SSIS I would like to retrieve the list of files from the above table and then check if each file is present in a directory. If a file 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.
12,841 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,461 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,559 questions
asked 2020-09-03T03:56:20.857+00:00
John K 186 Reputation points
accepted 2020-09-05T03:04:56.007+00:00
John K 186 Reputation points
4 answers

SQL Triggers

Hi, I need a help regarding SQL Triggers. I think I'm making a mistake that is why it is not executing well. I'm developing an application which have PURCHASE, PURCHASEDETAILS, LOGS tables. What I need here is that when I make a purchase 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.
12,841 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,559 questions
asked 2020-08-23T16:53:12.82+00:00
Ranjith 1 Reputation point
commented 2020-09-04T21:56:30.097+00:00
Erland Sommarskog 102.1K Reputation points MVP
2 answers

Have Report Builder forget saved credentials

Using Report Builder 3.0 for SQL Server 2014. I need to have it forget some user credentials forgotten when connecting to a report server. I have tried deleting the user config file, the clear all recent item lists option, and uninstalling 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,818 questions
asked 2020-08-17T15:56:02.537+00:00
Andrew 1 Reputation point
commented 2020-09-04T16:29:28.28+00:00
Brenda Stewart 96 Reputation points
3 answers One of the answers was accepted by the question author.

Tipping point Nested loop join and hash join ?

are there any tipping point for the query optimizer to choose between Nested loop join and hash join

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,841 questions
asked 2020-09-03T05:41:16.94+00:00
sakuraime 2,321 Reputation points
accepted 2020-09-04T16:10:11.523+00:00
sakuraime 2,321 Reputation points
1 answer One of the answers was accepted by the question author.

Tipping point batch mode on row store : SQL Server 2019

what's Tipping point for choosing batch mode on row store : SQL Server 2019

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,841 questions
asked 2020-09-03T06:47:31.42+00:00
sakuraime 2,321 Reputation points
accepted 2020-09-04T16:01:27.243+00:00
sakuraime 2,321 Reputation points
3 answers One of the answers was accepted by the question author.

SHOWPLAN_TEXT ON vs SHOWPLAN_ALL ON

what's the actual difference ? I can't see

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,841 questions
asked 2020-09-03T04:39:51.25+00:00
sakuraime 2,321 Reputation points
commented 2020-09-04T15:51:16.993+00:00
sakuraime 2,321 Reputation points
3 answers

parallel plan slower than serial plan

Can anyone give an example that parallel plan (parallelism) slower than serial plan

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,841 questions
asked 2020-09-02T18:43:50.507+00:00
sakuraime 2,321 Reputation points
commented 2020-09-04T15:48:04.603+00:00
sakuraime 2,321 Reputation points
2 answers One of the answers was accepted by the question author.

Having issues with a function to change a parameter value.

I have 2 parameters coming in - one has a job number that has to be reformatted and updated to the other. I wrote a function to do the format because nothing I tried in the expression for the second parameter worked. Well, it's still not working. The…

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,818 questions
asked 2020-09-03T20:49:18.04+00:00
Brenda Stewart 96 Reputation points
accepted 2020-09-04T15:09:19.373+00:00
Brenda Stewart 96 Reputation points
8 answers One of the answers was accepted by the question author.

sql server windows ad role permisions

I would like to grant a specific windows role automatic permissions to be the "dbo" every time a new database is created, can this be accomplished using the model database, 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.
12,841 questions
asked 2020-08-28T21:35:16.477+00:00
NeophyteSQL 241 Reputation points
commented 2020-09-04T14:44:49.89+00:00
NeophyteSQL 241 Reputation points
2 answers One of the answers was accepted by the question author.

SSRS - Color coding values based on data compare

Hi Folks: We have SSRS report (2016) with 2 columns Qty1 and Qty2 and want the record colored (red) If the Qty1 and Qty2 are matching. The Qty2 column has records in 5 decimal places and we want to round off to 3 decimal when comparing the values. I…

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,818 questions
asked 2020-09-03T15:33:32.493+00:00
SQL 321 Reputation points
accepted 2020-09-04T13:18:18.19+00:00
SQL 321 Reputation points
9 answers One of the answers was accepted by the question author.

Best way to create a second instance current and available 24x7.

Hi everyone! What would be the best solution to make a production database available to another SQL Server instance (on a different server) in read-only mode, without interruptions? I mean, current and available 24x7. Mirror, replication, etc. …

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,841 questions
asked 2020-09-02T20:37:04.867+00:00
Doria 1,246 Reputation points
commented 2020-09-04T09:49:40.92+00:00
Erland Sommarskog 102.1K Reputation points MVP
2 answers

SQL Server SSIS Package - IDE

Microsoft®VisualStudio Pro Sub MSDN version is good for SQL Server SSIS Package development

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,461 questions
asked 2020-08-28T17:43:45.037+00:00
Pandurangan, Balavenkatesh 1 Reputation point
commented 2020-09-04T09:48:47.423+00:00
Monalv-MSFT 5,896 Reputation points
2 answers

User Account receives primary key violation but not another user

Hi We're trying to set up a proxy user to run an SQL Server job, but there are steps in the SSIS package with are MERGE statements. The user account set up, which has sysadmin rights against the databases, receives a 'Violation of PRIMARY KEY…

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,841 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,461 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,559 questions
asked 2020-08-28T00:42:41.373+00:00
Mia 1 Reputation point
commented 2020-09-04T09:40:53.747+00:00
Monalv-MSFT 5,896 Reputation points
2 answers

SSIS in SQL Job

Hi, I have an SSIS package with an XML file, and it works correctly, but when I use it (the SSIS package) in SQL job I got an error about the path of the XSD file. How Can I handle it in the Config file or invariable in the SSIS package? I…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,461 questions
asked 2020-08-28T13:21:45.977+00:00
Anonymous
commented 2020-09-04T09:29:55.433+00:00
Monalv-MSFT 5,896 Reputation points
2 answers

Printing text query results to pdf fails

when attempting to print query results (to text) to a pdf it fails with error: Value cannot be null. Parameter name: moniker. What is the fix for this.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,461 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,559 questions
asked 2020-09-01T12:44:42.843+00:00
Buzzy Cheadle 1 Reputation point
commented 2020-09-04T09:19:21.863+00:00
Monalv-MSFT 5,896 Reputation points
2 answers

MEMORYBROKER_FOR_STEAL vs MEMORYBROKER_FOR_CACHE

what doesnt these two memory brokers do ?? MEMORYBROKER_FOR_STEAL <<< steal from buffer pool , but steal for what? what's the destination of this steal ?

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,841 questions
asked 2020-08-28T18:26:45.973+00:00
sakuraime 2,321 Reputation points
commented 2020-09-04T09:00:57.563+00:00
CathyJi-MSFT 21,096 Reputation points Microsoft Vendor
1 answer

Unable to start Azure Data Factory SSIS Integration Runtime for my Managed Instance

I'm trying to deploy an Azure Data Factory SSIS Integration runtime for use with my SQL Managed Instance (on the private interface). I keep running into the same issue with this error: Failed to start the integration runtime: SSISintegrationRuntime.…

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,683 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,461 questions
asked 2020-08-31T11:05:08.297+00:00
EJR 1 Reputation point
commented 2020-09-04T08:50:22.727+00:00
Monalv-MSFT 5,896 Reputation points
5 answers One of the answers was accepted by the question author.

Search for a table name in all the stored precedures

Greeting all , i want to search for a table name in all my stored procedures( over 200 ) to add some filters in it . is there a way i can make a search on all my stored procedures to find which ones that contain the table name ? Thanks in…

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,841 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,559 questions
asked 2020-09-03T16:13:53.363+00:00
Rami Frikha 91 Reputation points
accepted 2020-09-04T08:25:37.667+00:00
Rami Frikha 91 Reputation points
1 answer One of the answers was accepted by the question author.

Tabular Error in project

Hi, I am currently working on a SSAS tabular model cube. I am getting the below error. Plz someone could help on this ? The size of a data value in table '<#####>' column '<******>' was too large to fit in that column. The current…

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,247 questions
asked 2020-09-03T06:58:27.243+00:00
KamiFen 121 Reputation points
commented 2020-09-04T08:14:38.353+00:00
KamiFen 121 Reputation points
1 answer

How to fix "Infinity" and "Nan"

I am getting "Infinity" or a "NaN" value on my expression below. Suggestions on my expression to improve it? =Sum(CDbl(IIF(Fields!Type.Value = "Charges", Fields!PatientAmount.Value + Fields!InsuranceAmount.Value, 0)))…

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,818 questions
asked 2020-08-29T16:22:25.683+00:00
Jeff S 1 Reputation point
commented 2020-09-04T06:52:14.15+00:00
ZoeHui-MSFT 33,386 Reputation points