Viewing 15 posts - 1,021 through 1,035 (of 13,878 total)
Scott's synonym suggestion sounds like your best bet to me.
March 31, 2023 at 4:38 pm
The output you get from your query is the same as
SELECT 'MERGE ' + dc.ChannelReadingTableName + ' USING ' + dc.MainLevelDataTableName
FROM #DeviceChannel dc;
March 31, 2023 at 11:57 am
'Get to the last record' still makes no sense to me. Once again, I suggest you provide the output you are hoping for.
March 31, 2023 at 11:37 am
Not sure what you mean by 'Complete at the last record'. What results are you hoping to see?
I want to get to the last record
but i thinik ive...
March 31, 2023 at 11:35 am
Not sure what you mean by 'Complete at the last record'. What results are you hoping to see?
March 31, 2023 at 11:18 am
Here is a version with a sequence number which you should be able to adapt
DROP TABLE IF EXISTS #Leave;
CREATE TABLE #Leave
(
EmployeeId INT
...
March 30, 2023 at 3:23 pm
The sample data you have provided has no column which provides ordering. Without a column to order by, a T-SQL solution is not possible.
March 30, 2023 at 3:08 pm
Compare the execution plans in both environments. Are they identical?
Are the hardware, o/s and SQL Server versions the same?
Have you checked for blocking?
March 30, 2023 at 8:06 am
Does your view definition include 'WITH SCHEMABINDING'?
March 28, 2023 at 8:29 am
Thanks Jeffrey, I'd forgotten that CONCAT_WS() even existed.
March 28, 2023 at 8:25 am
Is this the extension which you are trying to add?
https://learn.microsoft.com/en-us/sql/ssdt/release-notes-ssdt-2019?view=sql-server-ver16
March 28, 2023 at 8:23 am
Simple and clear, quite impressive. Thanks for posting back.
March 27, 2023 at 9:01 am
I already shared the screenshot of the table and query for the result i am expecting
If you believe this to be a valid and comprehensive response to my request,...
March 26, 2023 at 1:08 pm
I think I'd switch the logic around a bit.
March 26, 2023 at 11:28 am
Viewing 15 posts - 1,021 through 1,035 (of 13,878 total)