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 strongm 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. GeneCampbell

    Group Sum

    I've taken a look at Volume 5, Chapter 7 and I believe I've come across a syntax problem in the manual. on page 7-51, Example 2:Group Sum The query is coded as such: select city, kind, sales SUM(sales) OVER (ROWS UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) FROM monthly; When I attempt to...
  2. GeneCampbell

    SPL1078:E(L3),User is not authorized to use the DDL/DCL/Dynamic SQL st

    Yes, I verified access rights with the DBA's.
  3. GeneCampbell

    SPL1078:E(L3),User is not authorized to use the DDL/DCL/Dynamic SQL st

    I am trying to create the below SP: create procedure core_proddb_s.table_nme3( in p1 char(50), out p2 char(50) ) begin call DBC.SysExecSql('Select campaign_id from ' || :p1); End; This is the message that is being returned when I attempt to create the proc: SPL1078:E(L3), User is not...
  4. GeneCampbell

    Dynamic Table name in from clause in SP

    I am trying to parse a table name from a field in a teradata table, pass the table name to a variable and use the variable to populate the table name in a select statement. Is this possible? create procedure core_proddb_s.table_nme2( in p1 int ) begin Declare var1 char(50); select...
  5. GeneCampbell

    Number Generator

    Thanks, this solves my issue.
  6. GeneCampbell

    Number Generator

    I want to generate a number and populated a table field via sql based upon a starting number. For example my starting number is 102, and I want to assign a number to a number field for each record in my table by incrementing the starting number by 1 for each record.

Part and Inventory Search

Back
Top