Forum Replies Created

Viewing 15 posts - 496 through 510 (of 1,193 total)

  • RE: Changing Owner or Mirrored DBs

    houming1982 (4/17/2013)


    Gazareth (4/16/2013)


    Easiest way, connect to the mirror server as "A", rather than yourself, and run the restores.

    What if we do not know the password of the login "A"?

    Unfortunately, in...

  • RE: SSRS expressions to get part of a string

    No problem, glad you found a solution!

  • RE: Changing Owner or Mirrored DBs

    houming1982 (4/16/2013)


    If we need to do modifications on mirror database, we must make it writable (set partner off + restore with recovery). But if the mirroring should be reset, we...

  • RE: Difference between?

    ravi@sql (3/26/2013)


    In the above queries gives the same output

    Not necessarily. For example, just tried it on one of my tables and there's > 500 difference.

    The first one gives the last...

  • RE: No Analysis Services Option

    An instance of both is fine - but I think the Management Studio that comes with Express doesn't have the full functionality.

    You could try running a repair on the client...

  • RE: No Analysis Services Option

    It's a stab in the dark, but do you have Management Studio Express installed, rather than the full version?

  • RE: IDENTITY value becoming too big

    Hi,

    You can use DBCC CheckIdent to reseed the column, assuming the values aren't used elsewhere in the database?

    To avoid this in the future you could remove the identity property and...

  • RE: users not able to access database

    Divine Flame (3/19/2013)


    Thanks Lowell & Gazareth. We were able to track down the problem last week. It was collation of the SQL Server instance that was playing its role over...

  • RE: Usage Tracking

    No problem!

    Do you need instant notification?

    You could achieve this with a trigger on the table calling database mail. I'd be wary of making changes directly to 'system' tables like this...

  • RE: Usage Tracking

    Hi Mike,

    something like this?

    use ReportServer

    go

    SELECT u.UserName, c.CreationDate, c.Name, c.[Path]

    FROM dbo.[Catalog] c

    left join dbo.Users u on u.UserID = c.CreatedByID

    Cheers

  • RE: Report column problem.

    =first(fields!SupplierName.Value)

  • RE: users not able to access database

    Hi, have you checked they're connecting to the database you think they are?

    You can grab the info from profiler - User Error Message event.

    Just to rule out a misspelt connection...

  • RE: SQL

    Hi, and welcome to SQL Server Central.

    Please post and tell us how far you've got with your code & we'll try to help.

    We could guess but your requirements aren't quite...

  • RE: Convert String to Time Format

    Hi Andrew,

    I just discovered this undocumented function recently:

    declare @timestring varchar(10) = '12345'

    select cast(msdb.dbo.agent_datetime('19000101', @timestring) as time(0))

    Any good?

    Cheers

    Gaz

  • RE: sqlcode vs sp

    fmuzul (3/13/2013)


    You gave me an idea :exclamation::

    someone should suggest to SQLServerCentral to start some form of "competition among developers/DbAdmins". A problem of data manipulation, in a field that people...

Viewing 15 posts - 496 through 510 (of 1,193 total)