Merging 2 databases
Reddit » Microsoft SQL Server
by /u/Mardo1234
7h ago
We basically have 2 products that I have to merge. The schemas are almost the same. Couple of questions: 1) How should I deal with ID collisions? My first thought is just to increase the IDs + some number so they will not collide. Any other approaches to this? 2) My first inclination is just to build SQL Scripts to do the migration, but wanted to see if there are any tools to make this easier, that might also implement #1 out of the box. Anything else I should be thinking about? Thank you in advance. submitted by /u/Mardo1234 [visit reddit] [comments ..read more
Visit website
WSL + Windows Integrated Authentication
Reddit » Microsoft SQL Server
by /u/CarbonChauvinist
9h ago
TLDR - is it possible to use Windows integrated authentication for MSSQL in WSL? Using WSL + Neovim primarily because of the plugin telescope for searching through massive company repo of stored procs etc as well as live grepping. Seriously such a killer feature cannot imagine working without it - especially when getting used to a codebase you're unfamilliar with. I'd like to also try and actually write code and query against MSSQL though in WSL. But I need to be able to use integrated windows authentication. Is this possible? Searching online returns a lot of older hits about maybe being abl ..read more
Visit website
XTP System memory consumption high
Reddit » Microsoft SQL Server
by /u/FatSkinman
15h ago
Hey, I have in memory optimized tempdb enabled. From time to time we have an increase in XTP memory consumption not from the tempdb itself but from the MEMORYCLERK_XTP | Client-Default. We have followed recommendations based on MS documentation but to no avail. Among other things like DBCC MEMORYINFO and all the known DMVs, Querying dm_xtp_system_memory_consumers shows that memory consumer type VARHEAP | lookaside heap is using 40 GB + of memory. How to monitor what exactly is causing such high lookaside allocations? submitted by /u/FatSkinman [visit reddit] [comments ..read more
Visit website
Accessing named pipes with non domain account
Reddit » Microsoft SQL Server
by /u/kenshinjeff
15h ago
Hi, I'm running a small setup with just a few users, running an application that requires named pipes to access the database (SQL Server 2019). I have 2 SQL instances running on the server and the application uses named pipes for differentiation. Most of the users are using desktops in the office so they are able to join the domain and access the database via named pipes/IP without any issues. However I have some remote laptops, including my own home desktop which I hope to access the same application via a VPN (or something similar) remotely. These devices are unable to join the domain. From ..read more
Visit website
SQL Server Developer / Data Engineer Resume Help
Reddit » Microsoft SQL Server
by /u/Cytosis89
15h ago
I've been applying to around 50 jobs in the last 2 months that are for SQL Server developer, data engineer, SSRS report developer, BI analyst, Power BI developer, etc. I have only had 1 company give me a callback and it lead to a 2 round interview but did not proceed further. The lack of callbacks seems to indicate a problem with my resume. What is wrong with it and what can I do to improve my chances of landing a job within the roles specified above? I try to only apply to roles where I meet around 80% of the requirements and that are remote. To give more background, I work for a manufac ..read more
Visit website
Queries to compare server settings?
Reddit » Microsoft SQL Server
by /u/Top_Mobile_2194
15h ago
I'll be having access to a server admin account for a couple of hours and I'll need to figure why one customer environment is working well and the other experiences locks and long wait times. What queries can I use? I want to see isolation levels, timeouts and whatever else might be eleven. Microsoft SQL server connecting from ms server studio. submitted by /u/Top_Mobile_2194 [visit reddit] [comments ..read more
Visit website
Does it make sense to use AG in this scenario? Or should I continue using FCI?
Reddit » Microsoft SQL Server
by /u/SuddenlyCaralho
15h ago
We have a VMware cluster and redundancy in the storage (2 controllers). Does it make any sense to implement AG in this scenario (given that the SQL Server machines and the data is in the same VMware cluster and in the same geographic location)? Currently, I will proceed with the failover cluster, but I would like some opinion. The ideia is to have a HA in case of Operating system/SQL Software problem. AG (Availability Groups) offers some useful features such as Automatic Page Repair (due to data redundancy) and the ability to run read-only operations on secondary replicas (though we don't req ..read more
Visit website
Do you alert on successful jobs?
Reddit » Microsoft SQL Server
by /u/JHaasie77
15h ago
I have a lot of jobs that run throughout the day on multiple servers, and for all of these jobs I alert on both success and failure. Is this best practice, or should I switch over to only alerting on failure? I feel paranoid that something is going to stop working and I won't catch it right away. I do have alerts setup if my agent stops or something, but I still can't bring myself to change the jobs to only alert on failure. submitted by /u/JHaasie77 [visit reddit] [comments ..read more
Visit website
Duplicate values in SQL query
Reddit » Microsoft SQL Server
by /u/Johnson_56
15h ago
Working on a sql query to find orders that are ready to be closed after they have been shipped. It works fine except one or two values have been duplicated. SELECT prod_order_hdr_ud.applications_engineer , prod_order_hdr.prod_order_number , assembly_inv_mast.item_id , assembly_inv_mast.item_desc , prod_order_hdr.date_created , prod_order_hdr_ud.date_shipped , DATEDIFF(DAY, prod_order_hdr_ud.date_shipped, GETDATE()) days_since_shipped , prod_order_hdr.comment , prod_order_hdr_ud.ok_to_close FROM prod_order_hdr LEFT OUTER JOIN prod_order_hdr_ud ON (prod_order_hdr.prod_order_number = prod_order ..read more
Visit website
Restore database with compatibility level lower than 90 in SQL 2019 or 2022?
Reddit » Microsoft SQL Server
by /u/SuddenlyCaralho
15h ago
Has anyone restored a database with a compatibility level lower than 90 in SQL 2019 or 2022? The documentation says it needs to be 90 or more recent, but I managed to restore a database with compatibility level 80 without any issues. Have you encountered any problems? My database with compatibility level 80 (SQL 2000) is in a SQL Server 2008 instance. Why I was able to restore it? https://preview.redd.it/dcjd94ncrned1.png?width=781&format=png&auto=webp&s=b073ab00b098ac5462e89782901d6669d0a94f13 Restore in SQL Server 2022 (and it automatically upgraded to a compatibility level ..read more
Visit website

Follow Reddit » Microsoft SQL Server on FeedSpot

Continue with Google
Continue with Apple
OR