Forum Replies Created

Viewing 15 posts - 5,986 through 6,000 (of 6,401 total)

  • RE: T-sql html insert

    an option using find and replace in SSMS, would be to replace all ' with '+char(39)+' except for the first and last ' so that it looks something like this

    create...

  • RE: Login Password identify..?

    you cant, you can only get the hash value as passwords are encrypted.

    one thing you could do is to get the encryption method SQL uses to store password, then pass...

  • RE: SQL Sevrer Alert Based On Severity Level Not Working

    You could also use the RAISERROR keyword to raise errors on different error ids and severities.

    Can you send screenshot of your alert configuration and the lines from the SQL error...

  • RE: 2008 Central Management Server - Schedule Multi Server Query?

    Dev (12/8/2011)


    1260221107 (12/8/2011)


    ...

    For God's sake don't SPAM here.

    This user has done it on a number of topics now and is getting quite annoying, I have gone through the...

  • RE: Login Password identify..?

    you will have to build a query into like the following to suit the tables, this is just knocked up

    SELECT

    'ALTER LOGIN '+

    user.username+

    ' WITH PASSWORD = ''£!@123AVeryStrongPasswordGoesHere321@!£''

    FROM

    sys.sysusers user

    This will then bring...

  • RE: Disk Space Notification

    Thanks yarizus for sumarizing the topic.

    Just one thing, why did you detail SQL Mail, surely you mean DB Mail? This is SQL 2008 and SQL Mail is now a...

  • RE: Not able to start sql server due to model database location change

    Not to worry happy to help

    The best solution would be to give the account full control on the disks as this would then follow the best practice of lowest access...

  • RE: Return as single comma delimitted value

    i'm not all that clued up on XML as most of the XML work is done in the apps, not in the DB, so if you could provide a solution...

  • RE: upgrade ssrs 2008 to ssrs 2008 r2

    just done a quick google and it brought back a few results, but i think the social section of MS is offline as I cant connect,

    dont know if you want...

  • RE: IFF statemant question

    =iif(Fields!isYO.Value=0,"not YO","YO")

    SSIS/SSRS/SSAS is a cobble together of different development teams using VB.Net and C# (from what I was told in various Microsoft instructor lead courses), so you need to change...

  • RE: IFF statemant question

    hit the nail on the head, I looked at it and thought, that syntax is right, then thought, doh its not T-SQL its SSRS so gotta use " (speach marks)...

  • RE: How to add an "IF" condition to a variable in a stored proc?

    Would want to do something like this

    CREATE PROC ............ (@Office CHAR(5),.................)

    AS

    IF @Office NOT IN ('12','13','14')

    BEGIN

    SELECT

    'Office is not 12,13 or 14'

    END

    ELSE

    BEGIN

    SELECT

    'Office is either...

  • RE: Return as single comma delimitted value

    this should do the trick

    create table #temp (a int, b int, c int, d int, e int, f int)

    insert #temp values (21, 45, 11, 16, 567, 1256)

    select

    convert(varchar,a)+

    ','+

    convert(varchar,b)+

    ','+

    convert(varchar,c)+

    ','+

    convert(varchar,d)+

    ','+

    convert(varchar,e)+

    ','+

    convert(varchar,f)

    from

    #temp

  • RE: freaky file problems after detach

    right, just tried this on our prod server as its externally hosted and we can only use SQL logins as its not tied to the domain

    created new DB AntDetachTest

    sp_detach_db AntDetachTest

    RDP'd...

  • RE: freaky file problems after detach

    I have never tried it using a SQL login, to see what actually happens with the file locking, but thats always been the case with Windows logins.

    Saying that I will...

Viewing 15 posts - 5,986 through 6,000 (of 6,401 total)