Forum Replies Created

Viewing 15 posts - 421 through 435 (of 608 total)

  • RE: Best way to store data in table

    INSERT INTO PseudoTable VALUES ('Tear,Bike,Monkey')

    SELECT * FROM PseudoTable WHERE Item LIKE '%tea%'

    1 row returned.

    INSERT INTO PseudoTable VALUES ('Tear')

    INSERT INTO PseudoTable VALUES ('Bike')

    INSERT INTO PseudoTable VALUES ('Monkey')

    SELECT * FROM PseudoTable WHERE...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: execution plan window

    shanghaigirl-1125377 (2/4/2013)


    I am trying to observe the graphic execution plan, but my query is big. Is there any way that I can turn off the top part of the...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Login failed for user 'NT AUTHORITY\SYSTEM', Very straing

    SELECT

    SUSER_SNAME(owner_sid),

    *

    FROM

    msdb..sysjobs

    WHERE

    SUSER_SNAME(owner_sid) = 'NT AUTHORITY\SYSTEM'

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: t-sql alter problem

    You need to make sure that the new data type is compatible with IDENTITY.

    Identity column must be of data type int, bigint, smallint, tinyint, or decimal or numeric with a...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: change connection string info

    wendy elizabeth (2/5/2013)


    However there are times when the username and password is required.

    Why?

    wendy elizabeth (2/5/2013)


    can I use a windows identity to pass in the user info?

    Yes, in the connection string...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: SP4 error

    The key is here:

    Couldn't find local patch 'C:\Windows\Installer\3d567442.msp'

    and this article will help you fix it:

    http://www.sqldbadiaries.com/2010/07/15/how-to-resolve-missing-msi-or-msp-packages-during-sql-server-service-packs-hotfix-or-cumulative-updates/

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: New features in SQL Server 2012

    Mike Seattle (2/5/2013)


    ...gave me all the answers discussing the new features amongst yourselves...

    Hardly even scratched the surface.

    My favourite is

    SELECT modification_counter

    FROM sys.dm_db_stats_properties

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Delete with TABLOCK

    http://eohmicrosoft.blogspot.com/2012/12/heaps-of-trouble.html

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: update statisticsin sql

    shreekanth.kavali (2/1/2013)


    how long the update statistics job used to run on the largest database(of size 1300GB)

    Just a bit longer than on the 2nd largest database.

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Issue in deadlock in our production server

    GilaMonster (2/1/2013)


    asmita.patel (2/1/2013)


    Use "With (nolock)" hint with table name in query,

    for example

    select a.*

    from <<tbl_aa>> a with (nolock)

    Join <<tbl_bb>> b with (nolock) on a.aa_id = b.bb_id

    --Note: You need...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: SQL08R2 Database Mail

    worker bee (1/31/2013)


    2. Always, ALWAYS, use a script to set up email, SQL just doesn't like the GUI interface, sometimes it works, sometimes it does not.

    For DbMail I always use...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Adding comma separator to INT datatype

    ChrisM@Work (2/1/2013)


    Sean Pearce (2/1/2013)


    johnnycash (1/31/2013)


    Countries where a comma "," is used to mark the radix point include:

    ...South Africa...

    Wrong.

    Abrupt! How about a source?

    Thanks, I failed at Google and hoped everyone would...

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Adding comma separator to INT datatype

    johnnycash (1/31/2013)


    Countries where a comma "," is used to mark the radix point include:

    ...South Africa...

    Wrong.

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Need to copy data for a period of time.

    What are you trying to accomplish?

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

  • RE: Searching through text field

    What happens when the customer is called Rachel?

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

Viewing 15 posts - 421 through 435 (of 608 total)