Viewing 15 posts - 601 through 615 (of 13,841 total)
After installing VS2022, go to Extensions and install the
SQL Server Integration Services Projects 2022
extension. That should get you going.
February 5, 2024 at 4:41 pm
Phil, why subtract the average? Seems like this could be conditionally summed. Also, I agree with what Jeff wrote
Because it's a CROSS JOIN, but I only want to subtract...
February 5, 2024 at 4:37 pm
Well, if REPLACE(e.eligibility_ud,'-01','') is a very common operation in your system, you could create it as a PERSISTED COMPUTED column.
You could also see what happens if you replace that inner...
February 5, 2024 at 4:34 pm
You could create a database project in VS and then import the database structure into that. Doing so will create the individual files you need (though not with IF EXISTS...
February 5, 2024 at 4:23 pm
Given your >13,000 points, I need to confirm with you whether this is a joke?
February 5, 2024 at 4:03 pm
Actually i want to do sum of qty in subitem_id 203 and 299 and subtract it form item_id 103 group by item_id.
OK, based on this description, try this
February 5, 2024 at 12:08 pm
Nice try, but there are a few issues.
...
February 5, 2024 at 9:14 am
I tried pasting that into SSMS and hitting F5, but got a parsing error.
You clearly have not taken the time to read the article to which Jeff directed you. Or,...
February 3, 2024 at 9:52 am
This expression will do that:
right(F,3) == "\" \""? replace(F,"\" \"","\""): F
February 2, 2024 at 4:03 pm
OK, just to be clear, are you saying that you want to change this
"1234-28" "
to this
"1234-28"
?
February 2, 2024 at 3:35 pm
Still using SSMS 18.x since my second most important Addon (besides Redgate SQL Prompt) with the name SSMSBoost seems to be deprecated and there is no version that works...
February 2, 2024 at 2:35 pm
Note also that there is a difference between an empty string ("") and NULL.
February 2, 2024 at 10:06 am
Please try this:
REPLACE( F , "\"", "" )
February 2, 2024 at 10:03 am
Once again, if you want coding assistance, please provide consumable sample data for us to experiment with.
February 2, 2024 at 9:55 am
This semi-join version of the UPDATE might perform better
UPDATE pt
SET LastModifiedDateTime = @dt
FROM PlayersTypes pt
WHERE EXISTS
(
SELECT 1
FROM @TableTypePlayersTypes ttpt
...
February 1, 2024 at 3:25 pm
Viewing 15 posts - 601 through 615 (of 13,841 total)