Viewing 15 posts - 331 through 345 (of 5,109 total)
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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;...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
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...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
January 25, 2021 at 12:23 pm
Hi Solomon,
Yep, adding the notation character to that one line appears to do this job. I tested Comments, Posts, and Pages, and all 3 now correctly stored the characters.Well done...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
January 18, 2021 at 10:29 am
Viewing 15 posts - 331 through 345 (of 5,109 total)