Viewing 15 posts - 331 through 345 (of 5,111 total)
If it is too long (I think PRINT only allows 8000 characters... might be less), I'd use SELECT and then paste that into something like notepad to review.
Just...
April 13, 2021 at 7:54 am
p.s. No long-winded lecture on the use of WITH(NOLOCK) or an ordinal column list in the ORDER BY. You've been around long enough to know the cautions and the...
April 12, 2021 at 10:14 am
The simplest method to debug dynamic SQL is PRINT
/SELECT
it, debug that SQL and then propagate the solution to the SQL that produces the dynamic statement. We can't run your...
April 12, 2021 at 8:36 am
If you don't tell us what the content of script.sql
is, we really can't do more than guess at what you're trying to do here it.
April 8, 2021 at 5:50 pm
Is that new ?
So a Domain Admin can't grant SQL Admin access to another Windows Admin account, if the Domain Admin has not specifically been given SQL Admin permission...
April 8, 2021 at 5:24 pm
Powershell and a Windows Scheduled Task is one method yes. Some prefer to use a different scheduling tool that is more "user friendly"; there are plenty out there if you...
April 8, 2021 at 4:09 pm
Long running queries/statements/transactions are sometimes inevitable in a MySQL environment. In some occasions, a long running query could be a catalyst to a disastrous event.
This is a SQL Server...
April 8, 2021 at 9:18 am
All those images show scans, no seeks, which really isn't going to be helping things here. That image, of your SQL, is very difficult to read as well. You'd be...
April 7, 2021 at 4:29 pm
What is the object um
in your code, as it's not defined in the SQL snippet you have given us. Ideally, however, you should be trying to fix the design;...
April 7, 2021 at 4:25 pm
Without knowing more what you're going, or have changed, I can only guess. I know the above works; it is part of an automated process I have that occurs everyday.
January 28, 2021 at 5:59 pm
@DesNorton - I don't think sp_ExecuteSQL would actually diminish the danger. If the @WeatherFieldName variable had a semicolon in it, followed by a query - I believe it would...
January 28, 2021 at 4:42 pm
After connecting to FTP site how do you do a change directory command, and can you just point to a folder to deposit the files from local, not having...
January 28, 2021 at 4:18 pm
This isn't quite what you are after, but it's not far off, and I am sure you'll be able to modify it for your needs (such as add a for-each
...
January 28, 2021 at 3:38 pm
Hi Solomon,
Yep, I amended everything I could noticed no loss of characters, so it appears that everything does go through that one line that you highlighted for change.
If there is...
January 28, 2021 at 11:40 am
All looks good; you can see snippet of the silliness below. 1, 2 and 6 I'd already tested. I didn't, however, test changing the scheduled date to a historical one...
January 25, 2021 at 12:23 pm
Viewing 15 posts - 331 through 345 (of 5,111 total)