Viewing 15 posts - 7,546 through 7,560 (of 10,143 total)
sudhanva (8/10/2010)
I have a table with 3,000,000 records for one year. It has only a primary key.
Just select query without any where clause is taking 15-20min of time.
My question is,...
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 10, 2010 at 7:42 am
This is worth a look.
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 10, 2010 at 5:22 am
khushbu (8/10/2010)
How do i write query that shows me data for one hospital.My input looks like
hospital_nametable_namedatarid
00086Registratiejaar20071
00382Registratiejaar20082
Please provide table creation scripts and sample data as in the link below. Without this,...
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 10, 2010 at 4:45 am
Lynn Pettis (8/9/2010)
bitbucket-25253 (8/9/2010)
http://www.sqlservercentral.com/Forums/Topic965546-1292-1.aspx#bm966047
For a community which attempts to help, even the most inept, and helps so many this guy Celko is a real detriment .......
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 10, 2010 at 2:37 am
CirquedeSQLeil (8/9/2010)
Chris Morris-439714 (8/9/2010)
Brandie Tarvin (8/9/2010)
Is it wrong to cry when someone tells me they don't know what Bulk-Logged is?http://www.sqlservercentral.com/Forums/Topic961511-146-2.aspx#bm966015
It's a forestry expression.
That is scary - check the timestamps of...
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, 2010 at 10:19 am
Brandie Tarvin (8/9/2010)
Is it wrong to cry when someone tells me they don't know what Bulk-Logged is?http://www.sqlservercentral.com/Forums/Topic961511-146-2.aspx#bm966015
It's a forestry expression.
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, 2010 at 10:16 am
crookj (8/9/2010)
Chris Morris-439714 (8/9/2010)
Valuable metal found in signal- and power-carrying cables. Train signalling, for instance. Sufficiently valuable to be cut and stolen in broad daylight on friday, in an area...
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, 2010 at 8:12 am
Copper.
Valuable metal found in signal- and power-carrying cables. Train signalling, for instance. Sufficiently valuable to be cut and stolen in broad daylight on friday, in an area just outside Reading,...
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, 2010 at 7:05 am
snehalata_d (8/9/2010)
I have a table Orders
By applying sql query on it I am getting result set(table) as follows
sum(freight) | YEAR(orderdate)
-------------+------------------
----------- +------------------
25000 ...
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, 2010 at 6:04 am
vijay.s (8/9/2010)
A sp is made for that purpose. You can download it fromhttp://www.vyaskn.tripod.com/code.htm
Regards
Vijay
The link doesn't work.
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, 2010 at 5:31 am
karin.askeroth (8/9/2010)
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, 2010 at 5:15 am
Declare @timeZone varchar(10)
Declare @ZoneTime varchar(30)
Set @timeZone='CT'
Set @ZoneTime = CASE
WHEN (datepart(hour,dateadd(hh,dbo.GetTimeZoneDiff(@timeZone),getdate())) - datepart(hour,'00:00') < 12) THEN 'Morning'
WHEN (datepart(hour,dateadd(hh,dbo.GetTimeZoneDiff(@timeZone),getdate())) - datepart(hour,'00:00') < 17)...
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, 2010 at 5:07 am
SELECT CONVERT(DECIMAL(18,2),NULL) AS finalpremium
...works just fine. What datatype is the column finalpremium?
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, 2010 at 4:49 am
What client are you using to run the statement?
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, 2010 at 4:43 am
CirquedeSQLeil (8/6/2010)
Chris Morris-439714 (8/6/2010)
dbowlin (8/6/2010)
How do you spell relief? F-R-I-D-A-Y:-DP
pfpfpfpfpfpfpfpfpfpfpfpfpfpf
Anyone care to guess Jason's religious background?
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 6, 2010 at 9:39 am
Viewing 15 posts - 7,546 through 7,560 (of 10,143 total)