Forum Replies Created

Viewing 15 posts - 241 through 255 (of 687 total)

  • RE: Talking baseball

    Nice! Seems like it was just meant to be.

  • RE: Talking baseball

    At least you didn't get Cabrera'd in the eye

  • RE: Talking baseball

    Markus (4/23/2012)


    Did anyone see that there was a perfect game thrown against the Mariners in Seattle? The 21st perfect game.

    Yeah, that was great! Always good to see someone get...

  • RE: String break using substring and charindex

    Here's a substring solution to go with Kingston's DDL. Not sure which is faster.

    select

    SUBSTRING(filename,len(filename) - charindex('\',reverse(filename),1) + 2,charindex('\',reverse(filename),1))

    from @files

  • RE: How to Assign ID Randomly

    That's a pretty slick solution. Using this snippet is pretty neat to get random values per section. ROW_NUMBER() OVER( PARTITION BY [field] ORDER BY CHECKSUM(NEWID()) )

  • RE: load balancing solution in SQL Server 2008?

    SQL Server doesn't have any load balancing solutions.

    High Availability != Load Balancing

  • RE: Sudden fail of (long-time) scheduled db backup with OS error 5/Error 3201/Error 3013.

    Just throwing out ideas here.

    Is the U: drive a mapped drive or a local drive?

    Have there been group policies enforced recently?

    Are you using mount points in any places?

    And lastly, as...

  • RE: Talking baseball

    Yeah, wooo baseball!

    I was fortunate enough to get to the final exhibition game when the Red Sox came to town! Great game, lots of fun to watch the boys...

  • RE: Certificate I created could not be restored!!!

    Laura_SqlNovice (4/9/2012)


    --Now restore using the backup (if only needed)

    CREATE CERTIFICATE TEST_CERTIFICATE

    FROM FILE = 'D:\Encryption\TEST_CERTIFICATE_BACKUP.cer'

    WITH PRIVATE KEY

    (

    FILE=N'D:\Encryption\TEST_CERTIFICATE_ALT.pvk',

    ENCRYPTION BY PASSWORD = N'ABC123'

    )

    [/code]

    "DECRYPTION BY PASSWORD" is the correct syntax

  • RE: Study guide on MS 70-450 exam

    SQLRNNR has a good summary[/url] of study topics for the 70-450 exam. They are all online and available free.

  • RE: Display duplicate records in table query - Message 4145 error

    If you want to see the duplicate records in the table, you don't need that subselect in the where clause.

    SELECT

    count ([Key])

    ,[SLA]

    ,[PCCode]

    ,[PrCode]

    ,[LocalID]

    ,[DateOfBirth]

    ,[Number]

    ,[ATariff]

    ,[DSeen]

    ,[MPI]

    ,[Service]

    ,[POD]

    ,[Device]

    ,[ActivityDate]

    ,[SeenDate]

    ,[DateActivity]

    ,[Period]

    FROM [PROV].[dbo].[DA]

    GROUP BY

    [SLA]

    ,[PCCode]

    ,[PrCode]

    ,[LocalID]

    ,[DateOfBirth]

    ,[Number]

    ,[ATariff]

    ,[DSeen]

    ,[MPI]

    ,[Service]

    ,[POD]

    ,[Device]

    ,[ActivityDate]

    ,[SeenDate]

    ,[DateActivity]

    ,[Period]

    HAVING COUNT () > 1

    Edit: Phil...

  • RE: Talking baseball

    yay for baseball! Again, I've been soaking up all the spring training games I can!

    Opening day in Japan... I get it, as Markus said, international play = $$ for MLB....

  • RE: INSERT.....SELECT MAX() problem

    Alright, been working on this and it has been troubling me this morning. My solution probably isn't ideal but I believe it to be close to what you want.

    Before I...

  • RE: how to ensure the data is evenly among multiple data files

    Restricting growth of a file is not the same as data fill. As Ms. Shaw asked, are you experiencing bottlenecks with IO on a particular disk?

  • RE: Db_datareader role

    You cannot deny or revoke permissions to special roles. Db_datareader happens to be a special role.

    You can make a workaround by creating a new database role <Role1> and adding this...

Viewing 15 posts - 241 through 255 (of 687 total)