Viewing 15 posts - 1,051 through 1,065 (of 13,849 total)
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
thanks guys. this is great. really appreciate the assistance!
Interesting, at the surface, one would think this wouldn't be a difficult job for sql server to handle(?)
You're apportioning blame in...
December 8, 2022 at 5:07 pm
That is a common problem when importing from Excel. The way I handle it is
December 8, 2022 at 4:17 pm
That looks like a good dataset, and I'm sure that your explanation makes plenty of sense, to people who understand the data!
But I'm not one of those people, so would...
December 7, 2022 at 5:05 pm
Please provide a CREATE TABLE script for [Cranes].[dbo].[LPKCColmnized], along with your desired results, based on the provided sample data (which would be easier to use if it were provided as...
December 7, 2022 at 2:54 pm
Sounds rather complex. You might be better off putting this into a view or stored procedure.
Are you using global temp tables rather than local ones for a reason? Local temp...
December 4, 2022 at 6:18 pm
I suspect you'll find that this is a fairly thankless task, once you expand your dataset to include other name varieties, but this code works for your sample data. It...
December 4, 2022 at 10:00 am
Can you explain the rules? Looks something like
field1x-field2x-field3x----
where fieldnx = replace(fieldn,'-','')
except your sample data desired output is all over the place
a) the ordering of fields is inconsistent
b) the number of...
December 3, 2022 at 10:19 pm
Viewing 15 posts - 1,051 through 1,065 (of 13,849 total)