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 SkipVought 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: *

  1. AccountCR

    How do I map a new Win Auth login to existing SQL login in SQL 2000?

    We have an existing SQL Server login that has specific permissions. We would like to keep this login and have a new windows auth login (FRED) have the same permissions as the SQL login (legacy) without having to recreate the windows auth login with all the permissions of the SQL Server login...
  2. AccountCR

    Query for Top N for large amount of data

    10 seconds on our SQL 2005 machine and 49 secs on our SQL 2000 machine. Huge improvement.
  3. AccountCR

    Query for Top N for large amount of data

    Thanks gmmastros. That did it. I really appreciate all your help.
  4. AccountCR

    Query for Top N for large amount of data

    OK. Here is what I tried: Select a.State, a.SalesPerson, Sum(a.Cost) as TotalSales from dbo.JBMTest a inner join dbo.JBMTest b on a.SalesPerson = b.SalesPerson and Sum(a.Cost) <= Sum(b.Cost) group by a.SalesPerson, a.State having count(a.State) <= 5 order by a.state, Sum(a.cost) desc This...
  5. AccountCR

    Query for Top N for large amount of data

    I did look at it. Maybe I am just a little dense but I couldn't see how to incorporate his query to return a result set of the following for the table that we have. Tom 345.45 AL Joe 325.25 AL Moe 225.25 AL Jim 125.25 AL Sue 110.54 AL Guy...
  6. AccountCR

    Query for Top N for large amount of data

    eerlee, Thanks for your query. This works but it takes a long time to run, actually around 24 min on a hoss machine. I am running SQL Server 2000. Is there a faster query that can be run?
  7. AccountCR

    Query for Top N for large amount of data

    memdiscount, The query you provided gives me the sales reps with the highest sales item entered but doesn't give me the top 5 sales reps PER STATE. I should have been a little clearer about the data entered. Each item in the table represents an invoice for a rep for a state on a particular...
  8. AccountCR

    Query for Top N for large amount of data

    I have a database that has 5M rows of data in it. The table is setup as such: Invoice Table Date Salesperson State Cost We are trying to get a query that shows the 5 sales people with the most sales $ PER STATE. Thanks for the help.
  9. AccountCR

    RE: thread851-1006208 - Does the GlobalCallId change with reboot

    Regarding post thread851-1006208, was TAPIT able to resolve the issue with GlobalCallId or was there more to it than just the GlobalCallId?
  10. AccountCR

    Maximum Length for Hyperlinks

    I have a report created in Crystal 8.0 that has hyperlinks set to a particular field in the database. If this field exceeds 86 characters then other fields start disappearing from the report. The formula I am using for the hyperlink is a follows: if ({TGD0.FK_L_0_0_2}='') or...
  11. AccountCR

    Error after using PESetFieldMapping

    We have an application that uses PESetFieldMapping to remap fields that are no longer in the data to a blank field. We have been successful in using this up to a point. On one report, it always gives us an application error when the report starts to read records. Has anyone else ever...
  12. AccountCR

    How to get machine names from IP Address

    Already tried that one. Good suggestion though. I am afraid that since we don't have NETBIOS installed that we may be out of luck. This needs to be done through a script so loading the DHCP console won't help for this one. Any other suggestions?
  13. AccountCR

    How to get machine names from IP Address

    Concerning the DHCP database: Is there a command line that can be ran to return the machine name from the DHCP database?
  14. AccountCR

    How to get machine names from IP Address

    On a Novell network, that doesn't have DNS, WINS or NDS, how would you go about getting the machine name of a remote computer given that you have the IP Address? (NBTStat doesn't seem to work.) Any help would be greatly appreciated. Thanks.
  15. AccountCR

    How to get machine names from IP Address

    On a Novell network, that doesn't have DNS, WINS or NDS, how would you go about getting the machine name of a remote computer given that you have the IP Address? (NBTStat doesn't seem to work.) Any help would be greatly appreciated. Thanks.
  16. AccountCR

    How to get machine names from IP Address

    On a Novell network, that doesn't have DNS, WINS or NDS, how would you go about getting the machine name of a remote computer given that you have the IP Address? (NBTStat doesn't seem to work.) Any help would be greatly appreciated. Thanks.
  17. AccountCR

    REAPI: Identical databases, different names

    Brent, Here is something to try. In the report, go to Database-Set Location. In the table name field at the bottom of the box try removing the database name from the front of it. Still leave the owner and the table name. Save the report and then see how it runs from one of the other...
  18. AccountCR

    Printing the first and last detail record at the top of a page

    Is is possible to print the first and last record on a page at the top of that page? This would be used for a Company directory purpose. If this is possible, then how would it be accomplished.
  19. AccountCR

    Setting HTML export to be on one page via CRPE API

    I am using Visual C++ along with CRPE API to export reports via HTML. We need these reports to go out on a scheduled basis with no user intervention. As far as we can tell, there is no way to set the HTML export to go to one page instead of multiple pages without doing so via the dialog popup...

Part and Inventory Search

Back
Top