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 wOOdy-Soft 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. arewehavingfunyet

    plpgsql - RETURN concatenation with string of spaces

    I have not been able to figure out howto return a string of spaces from a postgres PLpgSQL function. For example I have a finalresult field defined as varchar. As I LOOP thru a section of code I set finalresult := finalresult || '' '' || field1 || '',''|| field2; and then I issue...
  2. arewehavingfunyet

    finding top n within postgres sql

    I am trying to write a select statement using Postgres to get the top 3 users in each problem category with the most problem incidents. For example: email problems: mary 5 jason 3 amy 2 beth 1 riley 1 network problems: bob 7 john 6 fred 4 howard 2 amy 1 sue 1 The results would produce: email...
  3. arewehavingfunyet

    using phpPgAdmin

    1) I am testing out phpPgAdmin version 2.4.2 on a new linux server. We previously have been using 2.4-1 our current production server. With this new release I have found that on my left pane, the drop down entries for System Tables, All Databases open up with their entries already expanded, but...
  4. arewehavingfunyet

    flip columns into rows

    I have a table (ABC) that has: pro varchar2(12) not null (primary key) pat varchar2(12) not null (primary key) ic1 varchar2(1) ic2 varchar2(1) ic3 varchar2(1) ic4 varchar2(1) If I want to create a view that will return a row for each ic type i could specify: create or replace view as select...
  5. arewehavingfunyet

    Show results of SQL accross in columns

    I have a table that looks something like this: protocol varchar2(12) not null - pk patient varchar2(12) not null - pk coldate date not null - pk testname varchar2(32) not null- pk testresult_num number(11,5) testresult_text varchar2(20) I would like to produce results that for each unique...
  6. arewehavingfunyet

    Where are privilege settings kept in the system catalog

    I am trying to find our where the information goes in the system catalog when you issue a command 'Grant select on table1 to user1'; I have been searching thru the pg_ catalog tables but have not been able to find it.......Thanks in advance for your help!
  7. arewehavingfunyet

    connect to different postgres servers in php

    I have a postgres database on 2 different linux servers. the PHP application code resides on one of the servers. I am trying to use pg_connect like this: **** $conn = pg_connect ("hostaddr=$InServer port=5432 dbname=sag0s01 user=$InUser password=$InPassword"); **** where I pass in the...
  8. arewehavingfunyet

    How do you activate an ActiveX control on an Access menu-like form

    I am trying to do a proof of concept to execute a Crystal Reports report program by clicking on a command button in Access. I have little experience with Access, and no knowledge of Visual Basic. From the documentation I have found, I created a Form in access with a command button. I have...
  9. arewehavingfunyet

    execute a crystal report program from a MS/ACCESS menu application

    I am trying a proof of concept by using Access as the front end application, initiating calls to run a Crystal Report. I am new to Crystal Reports (unfortunately V5) and new to Access (with no Visual Basic expertise). Based on what I have read, I am trying the ActiveX implementation to create...

Part and Inventory Search

Back
Top