Forum Replies Created

Viewing 15 posts - 4,741 through 4,755 (of 6,394 total)

  • RE: Updating [master].[sys].[master_files] and [User Database].[sys].[database_files]

    The size columns in the two views are in pages, so I assume you are multiplying them by 8, to get the size in KB then dividing by 1024 to...

  • RE: Using multiple counts to return results

    does the below fit your needs? added the 0/1 column on the end to see the if its bit = 0 or bit = 1

    declare @tab table (PERSON nvarchar(10),...

  • RE: How to bring all Ids of my table in Order

    You have to be careful with playing with id columns, especially if you have foreign key constraints. Identity gaps are common in all databases, especially in transactional scopes where...

  • RE: Tabbing Between Results Panel and Coding Panel in Management Studio

    Steve Jones - SSC Editor (6/1/2012)


    I use CTRL+R to whack the results in demos and quickly get back to the coding window.

    Highly useful is CTRL+R, especially when you have a...

  • RE: The Beer Cooler Thread

    Cliff Jones (6/5/2012)


    anthony.green (6/1/2012)


    Koen Verbeeck (6/1/2012)


    anthony.green (6/1/2012)


    Koen Verbeeck (6/1/2012)


    anthony.green (6/1/2012)


    Andy Hyslop (6/1/2012)


    what 50% tax on anything over 35,060

    I will never moan about taxes again!! :crazy:

    me neither, thought 20% was bad

    I...

  • RE: Sum two tables

    You need a full outer join.

    declare @tab1 table (year int, week int, total_savings decimal(36,18))

    declare @tab2 table (year int, week int, total_savings decimal(36,18))

    insert into @tab1 (year, week, total_savings) values

    (2012, 10,...

  • RE: Executing procedure in Job conversion error

    I would say this is down to different dateformats being set at the connection level.

    One thing to check would be the language of the accounts in question as I am...

  • RE: Login failed for user 'DOMAIN\USERNAME$'

    DOMAIN\USERNAME$ is the machine, so does the machine have access to SQL? Also what are the machines services running as which connect to SQL? Local System? If so...

  • RE: Databases size

    you want sysaltfiles which is the 2000 equiv of sys.master_files

    SELECT *

    FROM master.dbo.sysaltfiles

  • RE: To get the result without using joins (not subquery)

    Would be a case for a left outer join where mytable2.eid is null

    select

    t1.eid

    from

    mytable1 t1

    left outer join

    mytable2 t2

    on

    t1.eid = t2.eid

    where

    t2.eid is null

    returns mytable1.eid 5 and 6

  • RE: Compare Data between two table

    can you have multiple people called Jone in your tables? if so is the code the same in tableA and tableB for the right name?

    SELECT

    A.Code,

    A.Name,

    A.Sector,

    B.Sector

    FROM

    tableA A

    INNER JOIN

    tableB B

    ON

    A.Code =...

  • RE: SSIS

    2 connection managers, 1 for DEV, the other for UAT, then you need to use as many data flow tasks as you want to copy the tables from DEV to...

  • RE: Need help on Pivot

    Take a look in my signature for the Cross Tabs links by Jeff, the second part is in relation to dynamic cross tabs.

  • RE: Need SSRS Material

    what have you searched for so far, there are plenty good topics on the web on what you want

  • RE: Database mail configuration

    Manie Verster (6/1/2012)


    anthony.green (6/1/2012)


    I might be wrong, but I thought that option was for SQL Mail and not DB Mail so therefore shouldn't be in 2012 as SQL Mail is...

Viewing 15 posts - 4,741 through 4,755 (of 6,394 total)