Viewing 15 posts - 6,781 through 6,795 (of 10,143 total)
Mad-Dog (8/9/2011)
this syntax give me the right results but can it be change some how to start with a select first and not with "with cte as"?THX
As John says, Yes...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 9, 2011 at 5:09 am
How about a little sample data, say 10 rows split across two day boundaries?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 9, 2011 at 2:40 am
Mad-Dog (8/9/2011)
Hi,i've a table with 2 columns one log_event_num (int) and one log_event_time (datetime).
how i can write a select that will show me every day only one log_event_num per event?
THX
Do...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 9, 2011 at 2:29 am
uche_ezeribe (8/9/2011)
what i get now is
UserName FirstName LastName VacID vacancy Degree
-----------------------------------------------------------
joyr Joy ...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 9, 2011 at 2:24 am
This will show you a way to do it.
-- test table
DROP TABLE #ContainerMemberDefinitions
CREATE TABLE #ContainerMemberDefinitions (ContainerID INT, Expression VARCHAR(MAX))
INSERT INTO #ContainerMemberDefinitions (ContainerID, Expression)
SELECT 15, '#Nodes.Caption LIKE ''%adsl%''' UNION ALL
SELECT 15,...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 8, 2011 at 9:53 am
How do you know the two rows from the first query are ORred and not ANDed?
Do you have any restrictions over how you execute the SQL i.e. can you create...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 8, 2011 at 8:08 am
Of course. Can you post the parts of the statement you wish to create, with a little more explanation?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 8, 2011 at 7:09 am
Daniel Bowlin (8/8/2011)
Ready. Set. Commence Week.
Same time every day Dan. Have you had your shredded wheat?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 8, 2011 at 6:59 am
Do you mean, construct the WHERE clause programatically client-side?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 8, 2011 at 6:52 am
mickdunde (8/8/2011)
I've looking for a way how to use result from a select as a where clause to another statement. As an example I have two tables, tblNodes and...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 8, 2011 at 6:15 am
hxkresl (8/5/2011)
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 8, 2011 at 4:16 am
Cities and states are different entities with different properties. Model them as parent and child tables.
This problem is only the beginning, it will get much worse if you continue...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 5, 2011 at 9:47 am
Tom.Thomson (8/4/2011)
crookj (8/4/2011)
proboscishaustellum
Malaria
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 5, 2011 at 2:19 am
hxkresl (8/4/2011)
...merge mogknicker.mog.EnligtenmentSchemaMap as T
...
What?!! No, no. Classy mogs go commando.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 5, 2011 at 2:12 am
hxkresl (8/4/2011)
.... Do you have experience or suggestions for getting rid of this error?Helen
Check that the datatypes of the target table match those of the output columns of the SELECT...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 4, 2011 at 7:26 am
Viewing 15 posts - 6,781 through 6,795 (of 10,143 total)