Viewing 15 posts - 5,206 through 5,220 (of 10,143 total)
CassieF (2/11/2013)
oohh phooey, i am on a higher version than that.. 2008R2
It works fine on 2008R2, that's what I tested the script on. Are you sure that the server you...
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
February 11, 2013 at 9:28 am
CassieF (2/11/2013)
it also didnt pink out the first [count] so i...
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
February 11, 2013 at 9:21 am
sku370870 (2/10/2013)
DECLARE @LastOne bit = 0
CREATE TABLE #tblTasks
(
TaskID int,
...
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
February 11, 2013 at 9:17 am
Ed Wagner (2/11/2013)
insert into different_table(computername, auditid, auditdate)
select computername, auditid, auditdate
from original_table a1
where auditdate =...
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
February 11, 2013 at 9:02 am
Paul Munter (2/11/2013)
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
February 11, 2013 at 9:01 am
You can have whatever headings you want:
SELECT [Count] = 1, [Market name] = 'Borough Market'
What's important is the column content. Can you explain further? Is it something like this?
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
February 11, 2013 at 8:52 am
Paul Munter (2/11/2013)
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
February 11, 2013 at 8:40 am
Paul Munter (2/11/2013)
Exactly like that Chris, yes.
Cool, it was a lucky guess. Now what do you want to do with it?
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
February 11, 2013 at 8:18 am
Something like this?
DROP TABLE #mytable
CREATE TABLE #mytable
(P_KEY INT IDENTITY(1,1) PRIMARY KEY CLUSTERED,
LAST_DAY_OF_MONTH DATETIME,...
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
February 11, 2013 at 8:08 am
Hi Paul
You have rows in your table which have a datetime column. You want to pick some rows which have a "recent" date, from the table. On the same output...
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
February 11, 2013 at 7:31 am
Jason-299789 (2/11/2013)
Chris,I've never seen the recursive CTE method before, and looks like a viable option to the quirky update to a point.
Hi Jason, it's been subjected to a significant...
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
February 11, 2013 at 7:00 am
lilywhites (2/11/2013)
ive got this running in under 20 seconds....ill look into those other methods
many...
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
February 11, 2013 at 6:57 am
huy1002 (2/10/2013)
ComputerName. AuditId. AuditDate.
A. 111. 1/1/13
A. 222. 2/1/13
A. 000. 2/1/13
B. 111. 1/1/13
C. 000. 1/1/13
C. 111. 2/1/13
AuditId equals to zero telling no vulnerability found on that day scan.
I need...
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
February 11, 2013 at 6:14 am
Jason-299789 (2/11/2013)
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
February 11, 2013 at 6:12 am
akberali67 (2/9/2013)
Just one last question and I am sorry if I am bothering you. How much memory do you anticipate I would need to run...
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
February 11, 2013 at 5:18 am
Viewing 15 posts - 5,206 through 5,220 (of 10,143 total)