Viewing 15 posts - 46 through 60 (of 3,475 total)
When you define your CTE, you have to specify the column names...
WITH cteExample (FirstName, LastName, IDNo)
AS
(
SELECT fName, LName, NotMySSN
FROM tableX
)
SELECT FirstName, LastName
FROM cteExample
WHERE IDNo > 10;
If you...
April 1, 2025 at 4:45 pm
Use SUM() instead of ROW_NUMBER()?
March 26, 2025 at 4:25 pm
You don't have anybody building databases in Access do you? That's where I'd look. My guess is that someone has permissions on your Master Data Services instance that he shouldn't....
March 17, 2025 at 10:38 pm
the sp_foreachdb part?
March 17, 2025 at 1:59 am
This may give you an idea... I dumped the result of the query into a temporary table. (Not sure how to parameterize the object name, for some reason.)
            March 16, 2025 at 7:37 pm
            
            
            
                                                
        This may give you an idea... I dumped the result of the query into a temporary table. (Not sure how to parameterize the object name, for some reason.)
            March 16, 2025 at 7:37 pm
            
            
            
                                                
        Oh riiiiiiight! (silly me!) ... RedGate has such a tool. (It's a good thing that nobody that works for Red Gate is on here... you know, like Grant or Steve!)
A...
March 13, 2025 at 3:59 am
Welcome! Getting a useful answer can be tricky. So Jeff Moden wrote a great article that explains how to ask a question in such a way that it gets answered....
February 27, 2025 at 5:51 pm
Oh, like thaaaaaaat! Thanks! Proof that I almost never write table-valued functions... mostly just lots of Common Table Expressions. Come to think of it, is there a good article that...
February 24, 2025 at 3:13 pm
Steve,
Could you set up a project in VS Code and make it work like Azure Data Tools? Oh, and post a link to it here. (maybe post it on GitHub)...
February 16, 2025 at 4:15 am
Is there are good "Welcome to Visual Studio Code, ADT people!" article somewhere?
(So far, I'm not a fan of VSC... who moved my cheese??!)
February 14, 2025 at 10:24 pm
Ask anything you want,. If you have a specific question about data, you might want to read this article, because asking a good question is key to getting a useful...
February 13, 2025 at 1:41 am
If you used Azure Data Tools for documenting or explaining what the data is saying, what do you use now? Can I cheat and use good old Jupyter Notebooks?
February 12, 2025 at 10:13 pm
Could we at least have some CREATE TABLE scripts and some INSERT scripts? I'm not feeling that creative today.
What's wrong with the query you have? Does it not work? Or...
February 12, 2025 at 9:56 pm
How do you get the charting to work at all in ADS? (or is that just laughable?)
I wanted to do a line graph of prices over time, but wow. Is...
February 12, 2025 at 2:08 am
Viewing 15 posts - 46 through 60 (of 3,475 total)