Viewing 15 posts - 1,036 through 1,050 (of 13,841 total)
Hello all! I hope everyone's great
I have these columns here that are hour and minute for entry and for exit. I also have a column that let us know...
January 25, 2023 at 4:26 pm
As you are using row-by-row processing, why not use a CURSOR?
January 23, 2023 at 1:36 pm
It is possible, and if you search for 'consume data in ssis from rest api' or similar, you will find numerous examples of this.
However, it might not be as straightforward...
January 20, 2023 at 5:48 pm
You want to see all of the codes from all of the different tables in a single column?
For that, you will need a UNION query and no joins at all.
January 18, 2023 at 9:49 pm
Here is some dynamic SQL to give you an idea. You cannot 'inject' variables into column aliases using 'normal' T-SQL.
DECLARE @Yr SMALLINT = 2022;
DECLARE @Sql VARCHAR(MAX)
...
January 13, 2023 at 12:11 pm
Maybe something like this?
WITH result
AS (SELECT TOP(1)
t.Id
FROM dbo.Transfer t
...
January 13, 2023 at 8:46 am
Hi Jeffrey,
yes, SSRS is a brilliant idea. not sure why it didn't occur to me. I had created few SSRS reports in past.
I will consider SSRS or a python...
January 12, 2023 at 2:25 pm
Is it possible to provide an easy digestable test-case?
Table definition
Inserts for testcase
Wanted results
+1, we definitely need this in order to be able to give you a coded solution.
January 12, 2023 at 10:10 am
Assuming the package has been deployed to SSISDB, it may be called (with parameters as needed) from a stored procedure. Would that help?
January 11, 2023 at 9:11 am
Given that the results of a single query must always have the same number (and datatype) of columns, there's no straightforward way of doing this. With some juggling, you may...
January 11, 2023 at 9:08 am
When we create a foreign key using UPDATE CASCADE the referencing rows are updated in the child table when the referenced row is updated in the parent table which...
January 9, 2023 at 1:15 pm
I am having some kind of proprietary database with the file extension of .DSE i would like to import those in SQL Server 2019
Is there any way to import...
January 8, 2023 at 12:46 pm
If you are hoping for a coded solution, please provide DDL and INSERTs with sample data, and desired results based on the sample data.
January 6, 2023 at 8:54 am
Where do you want to run the code from? SSMS? SQLCMD? C# app? Something else?
December 15, 2022 at 8:57 am
I assume you will design a registration table (MemberId, LocationId, DateRegistered, etc), with FKs to Member and Location? If so, add a Boolean 'IsPrimary' to that table to denote the...
December 12, 2022 at 8:28 am
Viewing 15 posts - 1,036 through 1,050 (of 13,841 total)