Note that there are some explanatory texts on larger screens.

plurals
  1. USbillinkc
    primarykey
    data
    text
    plurals
    1. COI am not as familiar with DB2 as SQL Server so apologies if the links are not helpful. This article discusses the creation of [DB2 sequences][1], which I assume you are familiar with (I was not). However, based on original poster in this [discussion][2], it doesn't appear that one can consume a sequence from a function call. That is in-line with the SQL Server restrictions that user-defined functions cannot modify the database state. [1]: http://www.ibm.com/developerworks/data/library/techarticle/0205pilaka/0205pilaka2.html#section4 [2]: http://bit.ly/mvoGjY
      singulars
    2. COAdmins should only be able to see a link if there are no advertisements in the subcategory. I'm fuzzy on how your data is structured. Could you help me understand the Directories and Clients tables? Directories has a subcategory of Accountants and a franchise id (brentwood or shrewsbury) based on example. An advert exists for Accountants in Brentwood (recorded in the Clients table?) Do you want to know the advert count per franchise? Only return a list of places that have no adverts? Given a Franchise and subcategory, how many adverts are there? What is the problem we are trying to solve?
      singulars
    3. COIs "SQL Server Browser" service running? You probably don't need the VIA protocol turned on, btw. More info about SQL Server Browswer here http://msdn.microsoft.com/en-us/library/ms181087.aspx
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload