Re: What queried should I use???

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Wed, 21 Feb 2007 07:59:31 -0800, Lee
<Lee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi John,
Thanks for answering my question. Is there a better way to write the SQL
since I have different kinds of range of account (they are not in sequence)?
I have 200 so accounts far. And it's very tedious to write each of the
account number in the Union query every time.

Where is this wide-flat data coming from? Surely you're not
INTENTIONALLY storing a table with account numbers as fieldnames?

What's the context? If we can figure out why you need to do this in
the first place, maybe we can find way to automate the process of
normalizing it.

John W. Vinson [MVP]
.



Relevant Pages

  • RE: sql tasks
    ... that is the owner of the job is the context it runs under. ... and one more note: will sql jobs (sorry for the ... The job will run under the account of the owner on SQL Level and on OS Level ...
    (microsoft.public.sqlserver.security)
  • Re: sql problem
    ... Account # is the link field on ... The requirement is I have to come up with a report comparing the two ... customer tables to see if they are in sync. ... what I wanted to do was to get the SQL to return the "like" names ...
    (comp.databases.oracle.server)
  • Re: sql problem
    ... Account # is the link field on ... table1, table2@dblink where ....) ... customer tables to see if they are in sync. ... what I wanted to do was to get the SQL to return the "like" names ...
    (comp.databases.oracle.server)
  • Re: sql problem
    ... Account # is the link field on ... table1, table2@dblink where ....) ... customer tables to see if they are in sync. ... what I wanted to do was to get the SQL to return the "like" ...
    (comp.databases.oracle.server)
  • Re: W2K/WMI service (WinMgmt.exe) accessing an ODBC connection
    ... If a SQL account is used then the only thing needed on the ... machine running SQL is SQL login and database grants. ... If integrated, then in addition, I have seen the account need ... then changing this to use trusted connection ...
    (microsoft.public.windows.server.security)