|
|
|
|
|
|
|
Question of the Day |
Today's question (by Steve Jones - SSC Editor): | |
Restoring the Resource Database | |
How can I restore a version of the Resource Database in SQL Server 2022? | |
Think you know the answer? Click here, and find out if you are right. |
Yesterday's Question of the Day (by Steve Jones - SSC Editor) |
Express In-Memory OLTP Can I create In-Memory OLTP tables in SQL Server Express? Answer: In SQL Server 2016 and later editions. Explanation: Express includes the ability to create In-Memory OLTP tables. It's possible this is in 2014, but that documentation is retired. Ref: Edition Scale limits - https://learn.microsoft.com/en-us/sql/sql-server/editions-and-components-of-sql-server-2016?view=sql-server-2016&preserve-view=true#RDBMSSP |
Database Pros Who Need Your Help |
Here's a few of the new posts today on the forums. To see more, visit the forums. |
SQL Server 2016 - Administration |
Compare instance performance before and after a change - I'm about to make some changes to a set of related databases (yes, the change is tested in QA and it does improve the performance) and would like to get some numbers comparing the real-world, production performance before and after the changes. I don't need to dig to the database level or even lower, the […] |
SQL Server 2019 - Administration |
Problems Connecting to Sybase using ODBC Drivers - Hi All, I have recently migrated a sql database from an old server to a new one. This database is populated from an old sybase database. I have made the required changes to the SSIS job using visual studio and runs there fine. I have setup the ODBC DSN connectors and they test successfully. However […] |
SQL Server 2019 - Development |
automate sql installation in a 2-node windows failover cluster - Can you recommend best blog or approach or scripts to automate sql installation in a 2-node windows failover cluster? |
Create list of random, mutually exclusive selection(s) from the same table - The TEMP table '#project_types' has 3 columns: 1) a pk, 2) the 'project_type' unique name, and 3) 'is_combinable' which is a 0/1 boolean (INT because legacy...). The job spec for this part (of the larger project specification) says: "randomly select a representative distribution of 1 value (if not combinable) or 1-3 values (if combinable) and […] |
gut check dba's recommendation to increase log to 200gig - Hi , log files have always blown my mind. I'll try to explain simply what prompted this post and then ask the community for direction. we run a 2019 std sql agent job daily early morning mostly made up of 12 steps each responsible for ingesting to our wh sales facts and dimensions from 12 […] |
ssis - same data source's revenue column violates constraints - Hi, i've babysat our 3am , 12 erp source (one step per source) ssis pkg/subpkgs based sqlagent job for months now at my new job. Twice now in the last week or so one sales view column "Revenue" from one specific erp has brought the job down. The reason ssis says it is failing is […] |
SQL Azure - Development |
Tunning or alternative to PIVOT - Hi everyone, we have a table containing kind of key-value pairs, which are the columns of some entities. This is how master data is ingested in the platform. Then a query does some joins, filtering and finally a PIVOT to only output a row by entity, with all their columns denormalized. The query plan looks […] |
Integration Services |
SSIS package not parsing statement with exec (SP) with resultset - I have a package that loops through a bunch of SQL Servers and executes a stored procedure that uses temp tables. It was build in 2008 and I am now moving it to 2016 but having issues getting it to work in 2008 the OLE DB sql was simply "uspSystem_GetDatabaseInfo" That was giving me grief […] |
SSIS Execute Package Utility Issue - Hi everyone, So I have a ssis package that performs various operations like import, export etc based on values provided in config files. Today I have added some more code in the script task that downloads a pdf file, converts it to excel format and then reads this file and perform ETL operations. It loads […] |
KingsWaySoft Premium Service Lookup Error: Must Specify atleast one output colum - Hi Experts, I have developed one SSIS package which watches a remote folder for .csv files and read them and then get lookup id where its required using KingsWaySoft Premium Service Lookup and then finally map values to CRM attributes in CRM Destination component. Now this all works smoothly when I run in Local system. […] |
Design Ideas and Questions |
EF Schema Deployment - Just looking for some background on if anything has changed around "code first" for building schema. I've always preferred designing first, then building the schema (usually in a database project) and handling changes to schema that way. I'm in the position now where there is a project where it appears the developers picked EF and […] |
Designing two tables considering following scenario. - I want to design two tables considering the following scenario. Consider the image below: I’m moving blue boxes (which shows up on screen after Show Options the button is clicked) from left to right (on the grid) after clicking Move Text Content! button. Here are the steps I follow: Select one option from […] |
SQL Server 2022 - Administration |
Always On-manual failover - warning on possible data loss - Hi, I'm testing basic alwayson with SQL Server 2022 Standard on two servers (primary and secondary replica with an old Adventureworks database). The idea is to allow sql clients to continue to operate while one server is down for updating and rebooting (monthy windows and sql server updates). I'm testing the manual failover: Although the […] |
SQL Server 2022 - Development |
Contained availability groups error - Hello, I am testing the setup of contained availability groups. I am getting some strange errors while creating contained availability groups both through wizzard and with TSQL. I started with creating a contained availability group with the wizzard on MSSMS. Setup: I clicked the contained checkbox. The databases Meet prerequesites (FULL backup was made beforehand). […] |
Seeding Contained availability groups - / |
| |
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. webmaster@sqlservercentral.com |