You gave me a great hint here, I looked up the security/logins on the sql
server and I see there is in fact a tilde login...a disabled one but it
exists nevertheless. No idea why I didn't think of this earlier- I thought
it was some special reserved character in Sql Server. Thanks Greg.

Cheers
Tom

On Thu, 1 Oct 2020 at 13:36, Greg Low <g...@sqldownunder.com> wrote:

> There’s nothing to stop a tilde being someone’s login. (If they really
> want to spend their days testing all the parsing)
>
>
>
> Regards,
>
>
>
> Greg
>
>
>
> Dr Greg Low
>
>
>
> 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913
> fax
>
> SQL Down Under | Web: www.sqldownunder.com
> <https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sqldownunder.com%2F&data=02%7C01%7Csspahelp%40microsoft.com%7C1f0ea4d6b97e4d897f3708d666d1e890%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636809449091516274&sdata=SLHeEGAMmWUY5YIwcC4oAPYr%2F9RIZdi4MNASsdzwX2I%3D&reserved=0>
>  |http://greglow.me
> <https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgreglow.me%2F&data=02%7C01%7Csspahelp%40microsoft.com%7C1f0ea4d6b97e4d897f3708d666d1e890%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636809449091526278&sdata=IU8tnAITCjBxWafi3A9XpO9lF3PIwZJ8ad3t36lnxvs%3D&reserved=0>
>
>
>
> *From:* ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> *On
> Behalf Of *Greg Low
> *Sent:* Thursday, 1 October 2020 1:35 PM
> *To:* ozDotNet <ozdotnet@ozdotnet.com>
> *Subject:* RE: [OT] Sql Server job owner
>
>
>
> Well at least the scripting works right 😊
>
>
>
>
>
> Regards,
>
>
>
> Greg
>
>
>
> Dr Greg Low
>
>
>
> 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913
> fax
>
> SQL Down Under | Web: www.sqldownunder.com
> <https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sqldownunder.com%2F&data=02%7C01%7Csspahelp%40microsoft.com%7C1f0ea4d6b97e4d897f3708d666d1e890%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636809449091516274&sdata=SLHeEGAMmWUY5YIwcC4oAPYr%2F9RIZdi4MNASsdzwX2I%3D&reserved=0>
>  |http://greglow.me
> <https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgreglow.me%2F&data=02%7C01%7Csspahelp%40microsoft.com%7C1f0ea4d6b97e4d897f3708d666d1e890%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636809449091526278&sdata=IU8tnAITCjBxWafi3A9XpO9lF3PIwZJ8ad3t36lnxvs%3D&reserved=0>
>
>
>
> *From:* ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> *On
> Behalf Of *Tom P
> *Sent:* Thursday, 1 October 2020 1:34 PM
> *To:* ozDotNet <ozdotnet@ozdotnet.com>
> *Subject:* Re: [OT] Sql Server job owner
>
>
>
> Hey Greg
>
>
>
> The job properties in SSMS show the same thing, a tilde.
>
>
> Cheers
>
> Tom
>
>
>
>
>
> On Thu, 1 Oct 2020 at 13:19, Greg Low <g...@sqldownunder.com> wrote:
>
> Never seen that one before. If you look at the job owner in SSMS, what
> does it say there? Perhaps it’s someone that doesn’t exist.
>
>
>
> Regards,
>
>
>
> Greg
>
>
>
> Dr Greg Low
>
>
>
> 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913
> fax
>
> SQL Down Under | Web: www.sqldownunder.com
> <https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.sqldownunder.com%2F&data=02%7C01%7Csspahelp%40microsoft.com%7C1f0ea4d6b97e4d897f3708d666d1e890%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636809449091516274&sdata=SLHeEGAMmWUY5YIwcC4oAPYr%2F9RIZdi4MNASsdzwX2I%3D&reserved=0>
>  |http://greglow.me
> <https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgreglow.me%2F&data=02%7C01%7Csspahelp%40microsoft.com%7C1f0ea4d6b97e4d897f3708d666d1e890%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636809449091526278&sdata=IU8tnAITCjBxWafi3A9XpO9lF3PIwZJ8ad3t36lnxvs%3D&reserved=0>
>
>
>
> *From:* ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> *On
> Behalf Of *Tom P
> *Sent:* Thursday, 1 October 2020 12:22 PM
> *To:* ozDotNet <ozdotnet@ozdotnet.com>
> *Subject:* [OT] Sql Server job owner
>
>
>
> Hi all
>
>
>
> I have scirpted out a Sql Server job and the owner parameter is specified
> as '~' (a tilde character). Does anyone here know what the tilde means?
>
>
>
> @owner_login_name=N'~'
>
>
>
> My googling skills have let me down.
>
>
> Cheers
>
> Tom
>
>

Reply via email to