Forum Replies Created

Viewing 15 posts - 331 through 345 (of 5,109 total)

  • Reply To: RunningTotal column not working

    Jeff Moden wrote:

    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

  • Reply To: incorrect syntax near as when make pivot so How to solve it ?

    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

  • Reply To: Execute a script on the Azure Database

    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

  • Reply To: Admin Permissions...Or Not

    homebrew01 wrote:

    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...

    • This reply was modified 5 years, 2 months ago by Thom A.

    Thom~

    Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
    Larnu.uk

  • Reply To: SQL Express Backups ?

    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

  • Reply To: Including certain columns creates long query time

    wrote:

    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

  • Reply To: Including certain columns creates long query time

    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

  • Reply To: Good way to write STRING SPLIT

    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

  • Reply To: ftp script to upload files

    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

  • Reply To: Lookup and insert into column without dynamic SQL?

    kramaswamy wrote:

    @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

  • Reply To: ftp script to upload files

    Bruin wrote:

    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

  • Reply To: ftp script to upload files

    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

  • Reply To: Can post please be stored in nvarchar?

    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

  • Reply To: Can post please be stored in nvarchar?

    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

  • Reply To: Can post please be stored in nvarchar?

    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

Viewing 15 posts - 331 through 345 (of 5,109 total)