Forum Replies Created

Viewing 15 posts - 7,186 through 7,200 (of 26,490 total)

  • RE: Must declare the scalar variable "@User".

    vigneshlagoons (10/17/2013)


    Hi,

    I am new to SQL and where should I declare that. I have no idea. If possible can you correct my query.

    DECLARE @CCSG bit

    DECLARE @User ?? -- (??...

  • RE: Must declare the scalar variable "@User".

    The error message is telling you exactly what you need to do. You need to declare the variable @User before you use it in your query.

  • RE: Need to change column type from decimal(18,2) to decimal(18,4) on fairly big table.

    Not sure, but this may just be a metadata change to the column. Looking at the numeric data type since your precision is not changing, the number of bytes used...

  • RE: Function vs Direct query

    tony28 (10/17/2013)


    Lynn Pettis (10/17/2013)


    tony28 (10/17/2013)


    Before than i will give the design and data,

    I forgot for I think important issue, If this function is using for example inside 20procedures, it...

  • RE: Function vs Direct query

    tony28 (10/17/2013)


    I thinking about modify to ITVF, but i think it will be very hard and slowlier like one query...

    1. I have to declare variable

    2. alone queries are very...

  • RE: Date Field Comparisions

    shobanapraveen (10/17/2013)


    Hi Friends,

    Can any one help me in calculating past N hrs,past week,past7days,pastNdays,past2weeks,past14days,this month. Date should be compare with today and should automatically calculate the selected date.

    Thanks,

    Shobana

    First, you really should...

  • RE: Function vs Direct query

    tony28 (10/17/2013)


    Before than i will give the design and data,

    I forgot for I think important issue, If this function is using for example inside 20procedures, it can causes this...

  • RE: Database Restore Issue

    born2achieve (10/16/2013)


    Hi Gila,

    no where i can drop the partitioning in production as it is being used now. any other hope please ?

    As both Gail and I suggested, look at installing...

  • RE: Function vs Direct query

    I was looking at your function and I am sure it can be improved, unfortunately with all the conversions between datetime and character formats and the lack of perspective (we...

  • RE: Advanced Microsoft SQL Licensing

    If the reports you are emailing are static, not requiring the ability to query back to SQL Server, then you do not need to additional licenses for the users receiving...

  • RE: Database Restore Issue

    Since you are using enterprise features in production, you need to have enterprise features available in your test/development environments.

    Installing Enterprise Edition in a test/development environment is expensive, however there is...

  • RE: T-SQL

    Glad you got it working. You should still look at rewriting your process without using the Web Assistant tasks as those procedures are deprecated and your current process will...

  • RE: Are the posted questions getting worse?

    rodjkidd (10/15/2013)


    Lynn Pettis (10/15/2013)


    Hopefully I will be able to attend PASS next year!

    darn, means I'll have to come to PASS again! Lynn you are also on the "bucket list", 😀

    Rodders...

    Well,...

  • RE: Are the posted questions getting worse?

    Hopefully I will be able to attend PASS next year!

  • RE: Showing one value in a prompt, but wanting a different value passed

    Actually, don't worry about it. If you had this problem there are probably more out there with the same problem. If they find this thread they will find...

Viewing 15 posts - 7,186 through 7,200 (of 26,490 total)