Viewing 15 posts - 1,336 through 1,350 (of 6,679 total)
Okay - let's take a step back...can you outline what you need to do with this procedure? Maybe there is a better way to approach the problem. This sounds like...
February 2, 2021 at 6:44 pm
I ran the statement (OP):
grant view any definition to [Paleo-Server\SQLServerZaloha]
but the problem persists. What I want is to find the path to the database file on...
February 2, 2021 at 5:12 pm
I don't think it is a missing feature - if you do think that then you should make the recommendation that it be included in the product. You can post...
February 2, 2021 at 2:33 pm
If you want to use that string with IN - as in :
WHERE column IN (@listpar)
Then formatting the string isn't going to work. You need to parse...
February 1, 2021 at 10:24 pm
Why do you need to email the report - wouldn't it just be easier to create the file and direct the users to the file? Or - create a snapshot...
February 1, 2021 at 7:48 pm
If you were on SQL Server 2016 or higher you could try automatic seeding - but since you are still on 2014 your only options are backup, copy and restore.
I...
February 1, 2021 at 7:44 pm
See this link: https://docs.microsoft.com/en-us/sql/relational-databases/system-catalog-views/sys-master-files-transact-sql?view=sql-server-ver15
The login would need VIEW ANY DEFINITION to see anything in sys.master_files AND access to the database(s). If the login does not have access to the databases...
February 1, 2021 at 5:19 pm
Thank you for your response. That makes sense. But why would Azure Data Studio shows the perfect results but SSMS don't?
As I stated before - SSMS has a defined...
January 31, 2021 at 4:45 pm
I see nothing in that query that requires dynamic SQL - nor is there anything done with that table variable. Assuming there is much more to the code than shown...
January 31, 2021 at 4:26 pm
Most people won't download a word or excel document from a forum - too risky. But - without seeing what you have my guess is the default display settings in...
January 30, 2021 at 5:04 pm
It's funny that the OP didn't actually post the "last value" in what appears to be the desired report. Where do you supposed that "last value" fits into that? ...
January 30, 2021 at 4:22 pm
Also - it isn't clear how you are counting/summing the data. How do you determine the previous quarter - for example, Q1's previous quarter would be Q4 of the previous...
January 30, 2021 at 4:08 pm
What have you tried so far? This is still just a cross-tab query - you just changed the data.
January 30, 2021 at 3:56 pm
Different hardware - different OS - generating a different float value which is probably 3.275111111111111 or some other variant.
January 29, 2021 at 6:23 pm
BTW - most people will not open an attachment in Word or Excel format due to the risk associated with these types of documents. It would be much better to...
January 29, 2021 at 5:46 pm
Viewing 15 posts - 1,336 through 1,350 (of 6,679 total)