Viewing 15 posts - 1,006 through 1,020 (of 1,228 total)
The two queries in your first post are functionally identical and show an indirect relationship between bill_info and accounts_transaction. Whilst the joins between the two tables are known, the cardinality...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
December 5, 2010 at 7:10 am
dlam 18073 (11/21/2010)
I did a test on two different sp (test with 3400 rows),
one is my sp, processing time 46 sec
another one from tommyh, processing...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
December 4, 2010 at 2:07 pm
ngreene (12/3/2010)
insert into tblClientList (clientNumber)
SELECT a.clientNumber
from tblOrder...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
December 4, 2010 at 2:02 pm
CirquedeSQLeil (11/26/2010)
da-zero (11/26/2010)
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 26, 2010 at 12:02 pm
An entity-attribute-value system?
Your original post asked how best to store a value which could be either an integer or a character value in one or more columns of a table....
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 26, 2010 at 6:44 am
michel.zdw (11/26/2010)
i need to store a value that can be integer or string (depends on a key value)
is it better to use 2 columns or to use 1 column (varchar)...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 26, 2010 at 3:14 am
Iulian -207023 (11/23/2010)
I have a big table 50MB containing just 1000 records ( a few small fields each record).
On indexes I have one primary key and one clustered index, which...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 23, 2010 at 3:52 pm
stan-617410 (11/21/2010)
Thank you for your questions.
There are two tables - Tenant and Buildings.
The ID in Tenant = ID_U in Buildings.
If a tentant returns they will have...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 23, 2010 at 2:38 pm
<<We get the file full of INSERT UPDATE and DELETE>>
Is this a transit file? If not, what is it? Can you post a few lines?
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 23, 2010 at 2:11 pm
In this particular case, the answer is straightforward:
Before
EXEC(@SQL)
Put PRINT @sql
and see what it returns 😉
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 23, 2010 at 2:07 pm
Cheryl McLaughlin-385812 (11/23/2010)
To Drew:
However, the correct name is not pulling up. The original code modified using everyone's input:
SELECT glbank.check_num
, glbank.ref_num
, glbank.check_amt
, glbank.check_date
,...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 23, 2010 at 1:34 pm
Didn't this work?
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 23, 2010 at 12:55 pm
Cheryl - try both options (conditional join or two left joins) and compare performance, preferably on a live or scaled-up test db. Usually the two (and only two, it usually...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 23, 2010 at 12:27 pm
MonsterRocks (11/22/2010)
Chris.. the links in ur signature u want me to check out?
@MonsterRocks - Sorry mate, got tied up, but Wayne jumped in with solution.
@Wayne - cheers mate, sorted.
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 22, 2010 at 12:28 pm
bitbucket-25253 (11/20/2010)
That's not really a clue so much as asking us to do math.
Now did you know the year WWII ended (1945) or did you have to Google that?
But...
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]
November 21, 2010 at 3:37 am
Viewing 15 posts - 1,006 through 1,020 (of 1,228 total)