Viewing 15 posts - 1 through 15 (of 295 total)
On another note, you shouldn't be using double quotes around your field names. If you want to use anything, you should use open and close square brackets. ...
April 1, 2025 at 8:58 am
On another note, you shouldn't be using double quotes around your field names. If you want to use anything, you should use open and close square brackets. "[" and...
March 31, 2025 at 6:27 pm
Not sure if this is relevant, but UTF-8 support was introduced with MS SQL 2019. Is this something you use in either of those two tables?
March 31, 2025 at 5:02 pm
Agreed, but if query 1 is from server 1 and query 2 from server 2, how do you do the UNION?
I suspect that the OP was hoping to be...
February 4, 2025 at 10:54 am
The sources for the datasets are different, so I don't think that will work.
Yes, I saw that as well, but how are the sources different? The OP didn't specify...
February 4, 2025 at 10:12 am
Not sure if I understand your problem, but couldn't you use a simple UNION for the Country drop-down list? Something like
SELECT Country
FROM DS_Asia
WHERE Continent = @Continent
UNION ALL
SELECT...
February 4, 2025 at 9:46 am
You will have to install the mySQL ODBC driver on your SQL Server and configure it.
Then you can set your remote mySQL server up as a Linked Server. Use the...
January 30, 2025 at 2:48 pm
If you're not adverse to watching a video, there are several tutorials showing how to read a specific cell range from an Excel sheet available on youtube.com.
For example this short...
January 2, 2025 at 6:06 pm
One has to laugh, RTO no longer stands for Recovery Time Objective, now it means Return To Office
Those ever-changing meanings of common TLAs are giving me a headache.
Does...
December 17, 2024 at 2:52 pm
I copied the above sql ( as it is )....in a ssis variable and called it from execute sql task....it is still not working
You misunderstood my suggestion.
Create...
December 4, 2024 at 6:04 pm
Just a thought...
Depending on your need for data, you might also consider using the system view sys.dm_exec_sessions instead the somewhat unwieldy stored procedure sp_who2 as the basis for your query:
Either
November 19, 2024 at 5:50 pm
Apologies I seem to have miss read the text way it was being converted.
As you have the job hex in varchar from the substring, converting that to the GUID and...
November 19, 2024 at 5:12 pm
There isn't really a need to use that scalar function for the conversion.
This will also work:
SELECT t.SPID, t.Status, t.ProgramName, j.name AS JobName
FROM @Table t
LEFT OUTER JOIN msdb.dbo.sysjobs...
November 19, 2024 at 4:29 pm
Arrgh! At least in my browser the output from my post above isn't rendered correctly, even though I have used the Plain type format and it shows correctly when I...
November 18, 2024 at 7:31 pm
If you don't want to do a group by pivot, but simply want to place the price in a separate column, something simple like this might work for you:
November 18, 2024 at 7:21 pm
Viewing 15 posts - 1 through 15 (of 295 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy