Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
119 views

I have a requirement to generate unique incrementing serial numbers by product type from a VB.NET application using SQL Server Express. I have created a table and also have a VB form where I am ...
MBinz's user avatar
  • 1
Best practices
0 votes
2 replies
23 views

I have a SQL Server database with 700gb, approximately 300gb to shrink after we did a table sanitization. The database is not going to get to that size again, so I have to shrink it, but my problem is ...
FaintDrop799's user avatar
-3 votes
0 answers
82 views

Found myself with this awkward situation: As you can see, the value of field "amount" (float) is shown, when not converted/casted, as "10000". When I cast it to int, it becomes ...
Bob Dubke's user avatar
Best practices
1 vote
7 replies
97 views

I’m trying to understand why PostgreSQL COPY is much slower than SQL Server BULK INSERT in my scenario (or every scenario?). I have 30 .CSV files that are loaded into 6 different tables. In SQL Server,...
Fernando Del Cantão's user avatar
Best practices
0 votes
10 replies
88 views

I have a T-SQL query shown here which is taking forever to run. I am trying to see if there is a better way to write the Inner Join statement. The source table has a millions of rows. Is there any ...
Java's user avatar
  • 1,334
0 votes
0 answers
109 views

I need to get the SQL definition of a view. Problem is, it was created many decades and SQL Server versions ago using whatever GUI was available then, not via a CREATE VIEW statement. Another problem ...
Martha's user avatar
  • 3,774
0 votes
0 answers
43 views

I’m deploying a SQL Server/Azure SQL database using an SSDT .sqlproj (DACPAC) and SqlPackage.exe (DacFx publish). For local dev we require DropObjectsNotInSource=True so schema drift/renames are ...
Rob C's user avatar
  • 940
Advice
0 votes
5 replies
58 views

In principle I should be able to write some VBA code, and run it over a VBA project to amend the project. Scenario: A collection of databases is being moved from one server to another. There are a lot ...
dmhzx's user avatar
  • 61
0 votes
0 answers
35 views

Using SQL Server authentication and Windows authentication, I can login to SQL Server (via SSMS). When using isql via ODBC Driver 17 or 18 in Linux, how to login using Windows account to SQL Server? ...
tlorel's user avatar
  • 27
1 vote
2 answers
141 views

I have multiple functions to convert column values into an array CREATE FUNCTION FN_ToArray ( @separator NVARCHAR(10) = '|' ) RETURNS NVARCHAR(500) AS BEGIN DECLARE @return VARCHAR(500) SET ...
Pyrus's user avatar
  • 117
-4 votes
0 answers
78 views

I’m seeing Error 1204 severity 19 state 4 every 13 to 15 minutes all day with different system spids. Error Desc: "the SQL Server Database Engine cannot obtain a lock resource because it has run ...
Johnny's user avatar
  • 1
0 votes
2 answers
104 views

I run the below query against a view in MS Fabric environment (Data Warehouse). Here the compl_officer_id is the same across management_id partition (unfortunately there are no other unique values ...
muskagap88's user avatar
1 vote
1 answer
118 views

I am trying to access a SQL Server uniqueidentifier using Linq-to-SQL mapping: Table - CREATE TABLE [dbo].[Members]( [guid] [uniqueidentifier] NOT NULL ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] ...
aegsomweb's user avatar
0 votes
0 answers
52 views

I am attempting to use package configuration for an SSIS package that uses an OData Connection manager. I am using SSIS 2019 and Visual Studio 2022 running on Windows 10. I am running the following ...
thxmike's user avatar
  • 678
0 votes
2 answers
120 views

I am trying to flatten out two different tables for a report(view) but I am having a hard time. One table is tbRecord which contains a unique master record id and a sub table tbInspectedPart that ...
EasyE's user avatar
  • 589

15 30 50 per page
1
2 3 4 5
22442