Forum Replies Created

Viewing 15 posts - 6,016 through 6,030 (of 19,564 total)

  • RE: Searching Database for spesific column in all tables

    Simple query

    DECLARE @ColName Varchar(128)

    SET @ColName = 'yourcolumntosearch'

    Select t.name as TableName, c.name as ColumnName, ty.name as DataType, c.max_length

    ,'('+ convert(varchar,c.precision) +','+ convert(varchar,c.scale)+')' as Precision_Scale

    ,d.definition as DefaultConstraint

    ,c.collation_name

    From sys.tables t

    Inner Join sys.columns c

    on t.object_id...

  • RE: How to check if column has set to identity??

    Lowell (7/10/2012)


    one way is to look at sys.columns, which has an is_identity indicator:

    select

    object_name(object_id) as TableName,

    name As ColumnName,

    is_identity

    from sys.columns

    nice script lowell.

  • RE: Urgent help needed, Max Growth by DB

    Here's a starter for you

    Select * from sys.master_files

    From there, you can retrieve the information you need and customize the script to your needs.

  • RE: Primary file space full error

    It sounds like the data file grew to meet the max restriction on growth for that file. Are you out of disk space too?

  • RE: Connection Failed Issue

    Check the connection string that you are using within the application (Access).

  • RE: Rename the existinng File at same location

    Jeff Moden (7/10/2012)


    Thanks, Phil... I appreciate your time and the example.

    Shifting gears a bit, I still think it strange that DBAs will allow such things to go on in SSIS...

  • RE: Today's Random Word!

    Cliff Jones (7/10/2012)


    crookj (7/10/2012)


    Daniel Bowlin (7/10/2012)


    rhythmk (7/9/2012)


    Possinator (7/9/2012)


    SQLRNNR (7/9/2012)


    Cliff Jones (7/9/2012)


    Ray K (7/9/2012)


    Revenant (7/9/2012)


    rhythmk (7/9/2012)


    Brandie Tarvin (7/9/2012)


    Daniel Bowlin (7/9/2012)


    Heatwave

    Heatstroke

    Engine

    Piston

    V6

    V8

    HEMI

    Barracuda

    Fearsome

    Foursome

    Quartette

    Beatles!

    Monkees

  • RE: Need Dumps for 70-433 and 70-448. Please help

    rhythmk (7/10/2012)


    mayank.gauswami (7/10/2012)


    Hi All,

    Can anyone help me and show me right way to prepare for these exams.

    please post a good link or book to prepare....basically i need the basic...

  • RE: Hard Data v Gut Feel

    If you can show that there is data to support a decision, it is more likely to be well received than one based on the experience, instinct, or hunches...

  • RE: It's the Journey...

    I enjoyed the story, thanks.

  • RE: T SQL

    EZ PZ

  • RE: Converting Null Sum to zero in MS SQL Server 2005

    One of those subselects returns no data so it results in null. You can get around that with another isnull or a query rewrite. If you provided sample...

  • RE: Converting Null Sum to zero in MS SQL Server 2005

    just use the script example I provided.

  • RE: Converting Null Sum to zero in MS SQL Server 2005

    SELECT

    (Select SUM (ISNULL(Amount,0)) From blah1.dbo.Paymenthistory

    where Billdesc like '%Blah Blah%'

    and Receivedate >= '6/30/2012 00:00:00'

    and Receivedate < '6/30/2012 23:59:59')

    +

    (Select SUM ((ISNULL(Amount,0)) From blah2.dbo.Paymenthistory

    where Billdesc like '%Blah Blah%'

    and Receivedate >= '6/30/2012...

  • RE: Connection Failed Issue

    Are you able to connect through SSMS from your workstation and from the server itself?

Viewing 15 posts - 6,016 through 6,030 (of 19,564 total)