Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: gaperry
  • Content: Threads
  • Order by date
  1. gaperry

    Set Datefirst question

    I have a "view" where I am using DATEPART (week, [mydate])to show the current week and I need to make sure that the week shows up in the view based on the week starting on Monday instead of the standard US week which starts on Sunday. What is the best way to combine DATEFIRST with...
  2. gaperry

    Dividing percentages evenly

    Hi all, I have a number that I need to divide accross a group of percentages. Example: $1000 - Need to spread this number accross the following percentages 60%,30% & 10% to find the correct $$$ value for each. Note that the total percentage will always be %100. There are several fields...
  3. gaperry

    Viewing the SELECT statement in an OLAP Cube

    I have created several data cubes in MS Analysis services and am using MS Office Components to view them in a web browser on our website. I am TRYING to remember how to view the entire SELECT statement for a given data cube.(MDX Query) I want to be able to cut and paste the MDX query into...
  4. gaperry

    Help with an Insert and Where statement

    I am trying to insert a row of data from one table where it does not exist in another table using the below statement. In this case, I want to insert the data from table A into table B where week 4 in table B does not exist. And at the same time I am setting the week in table B to be 4. I get...
  5. gaperry

    Biztalk training

    Can anyone tell me where to find a good training class for Biztalk ? Or at least recommend a few good books ? I searched the Microsoft site and could not find too much in a way of training. Thanks, George
  6. gaperry

    MDX select statement to show all cube data based on the user login ID

    I am somewhat new to MDX. I have a webpage that displays a pivot table based on an Analysis server data cube. I am trying to create and MDX statement that would show ALL data in the cube for a given sales person based on the Microsoft login ID. Example: Show all data in a given cube for sales...
  7. gaperry

    sql server transactions per second

    Could someone please tell me the best way to find out the transactions per second during peak operating hours ? Thanks
  8. gaperry

    Multi table select query

    I have 6 tables that I need to join. Each table has an identifier that exists in all other tables. I can join the first 3 tables using DISTINCT and I get the results I am looking for. But when I try to add any of the remaining three tables I get only a few records. I could create 2 separate...
  9. gaperry

    3 Table join help

    I have three tables that I need to join. There are several fields in each table that are the same and there is only one common field between all three. I was using the common field for each table to make the join but the problem I am having is that when I add the third table, I get rows of data...
  10. gaperry

    Date transformation for null or NON date values

    I am trying to convert a text field to a date field based on the below structure. I have several dates that are null which I think I can deal with but I get failures for dates that are stored as NON date values. Example:99999999,etc I would like to be able to convert the below dates and set the...
  11. gaperry

    SQL - DTS - Rate of exchange and date ranges

    I need to update exchange rates in one table based on values from two other tables using date ranges as shown below. Table to be updated: UPDATE tbl_Sales_Fact SET Exchange_Rate = 1.448 Exchange Rate comes from another table which could be several currencies as I have shown here: 1.4485...
  12. gaperry

    Select last date of month in table

    I need to select the last date for any given month that exists in a table on sql server. I have looked at books online and other help topics but can't find how to do this. Any help would be appreciated. Thanks

Part and Inventory Search

Back
Top