Forum Replies Created

Viewing 15 posts - 511 through 525 (of 605 total)

  • RE: How to make a hierarchy from a list of integers?

    Not exactly.

    You need to add an additional column in the dimension table and populate it using left(col,1)+000 or likewise to achieve your goal in the normal way.

    However, you can create...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: How to fix "Divide by zero error" in SQL Server

    You can do the same thing on the application as well if you are using one. In crystal reports and business objects I never create variables using division without setting...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: How to change property of Package

    Check out this site. It gives you step by step instructions including screen shots. Helped me out the first time.

    http://www.databasejournal.com/features/mssql/article.php/3073161


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Intermediate T-SQL Book Recommendation

    Every friend I have introduced to Ken Henderson's "The Guru's Guide to Transact-SQL" has liked it and recommended it onto someone else.

    An absolute definite.


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Update a table and display value

    Apologies for my code with the update inside the function. You cannot do this, but you can update the table from a value called from a function - which was...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: #Deleted Displaying in all fields in Access View of SQL Server Table

    Jeff is quite right. I have this all the time. Another reason is when the structure of the table changes and the linked tables are not updated. Need to run...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Update a table and display value

    If you are going to be using this code regularly it might be worth creating a function like:

    create function fnIntCount

    (@location varchar(1))

    RETURNS INT

    AS

    BEGIN

    declare @nextNumber int

    select @nextNumber = intcount from table1 where...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Anyone know t/sql for displaying results in TEXT

    We have not got mauil set up on the server. I think I will go the dts route. That way I can also keep a history of log files if...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: dynamic sql

    You cannot use normal select statements for dynamic sql. Use exec() or sp_executesql or a combination of both. Check BOL for more info. This is another good site: http://www.sommarskog.se/dynamic_sql.html

    ...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: How to find No. Of occurences in a string without Loop

    There is no inherent function in sql.

    Even in vb you need to loop through the characters to perform the task.

    You are looking at writing a script using the 'substring' function...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Query Amalizer issue

    Try SET NOCOUNT ON

    I can't see any parameters in qa apart from the amount of text to bring back - Maximum characters per column on Tools/Options/Results


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Digital Dashboard and Citrix - or other?

    If you want the heavy stuff with all the functionality look at Cognos Reportnet or Business Objects Webi.

    Expensive, but gives you all the functionailt including letting users build their own...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: Anyone know t/sql for displaying results in TEXT

    Thanks. That is what i am doing. My manager wants to be able to log on to qa every morning and run the job in my absence without having to...


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: MMC GPFs Defining Transform Data Task

    Check you service pack settings and mdac version on both servers. Sounds like it is poitning in that direction somehow.


    ------------------------------
    The Users are always right - when I'm not wrong!

  • RE: How to insert Locks Problem in Error LOG?

    Glad to hear it. I am having real problems at my place with locks caused by the code in an application. Took a lot of investigation to find the precise...


    ------------------------------
    The Users are always right - when I'm not wrong!

Viewing 15 posts - 511 through 525 (of 605 total)