Viewing 15 posts - 6,871 through 6,885 (of 26,490 total)
What is the recovery model on the database in question? If you need to control the growth of your transaction log, you may want to consider another alternative.
My I...
March 29, 2014 at 6:48 am
SQL_Surfer (3/28/2014)
This works perfect. Can you explain what this is doing? I'm new to cross apply.
ScottPletcher (3/28/2014)
March 29, 2014 at 6:44 am
arrjay (3/29/2014)
Most of our development and QA environments...
March 29, 2014 at 6:33 am
Eric Stout (3/28/2014)
ID COUNTER DATA
1 10 ...
March 28, 2014 at 3:04 pm
Bob McClellan-320407 (3/28/2014)
I always use this when I need to compare dates...select convert(char,getdate(),112)
RESULT = 20140328
hth,
..bob
Faster...
March 28, 2014 at 1:34 pm
Koen Verbeeck (3/27/2014)
W00t w00t, this one makes my 12000th point. 😎
Congrats!
March 27, 2014 at 9:14 am
If you would like some real help solving your problem please read the following article. It will show you what you need to post and how to post it...
March 26, 2014 at 11:45 am
kaplan71 (3/26/2014)
The third-party backup program can be configured to exclude the directory where the log files reside.
That brings me to another question: Correct me if I am wrong,...
March 26, 2014 at 7:58 am
Grant Fritchey (3/25/2014)
The Dixie Flatline (3/25/2014)
March 25, 2014 at 9:58 pm
sharonsql2013 (3/25/2014)
I need to see records for last two hours ...
How should I do...
March 25, 2014 at 5:15 pm
Abu Dina (3/25/2014)
The truth is I'm no longer using SQL server.Using Sybase which doesn't have these functions in ASE.
Okay. You might want to mention that up front when asking for...
March 25, 2014 at 2:19 pm
Here is a SQL way to do this easily:
declare @Date date = '20140201';
select cast(YEAR(dateadd(month,9,@Date))-1 as varchar(4)) + '-' + cast(YEAR(dateadd(month,9,@Date)) as varchar(4))
set @Date = '20140612';
select cast(YEAR(dateadd(month,9,@Date))-1 as varchar(4)) + '-'...
March 25, 2014 at 2:15 pm
Why do you NOT want to use RANK or ROW_NUMBER functions?
March 25, 2014 at 1:30 pm
Is this a good start? Without your expected results based on the sample data it is hard to know what you are actually looking for here.
CREATE TABLE [dbo].[Doc](
[ID] [int]...
March 25, 2014 at 10:33 am
homebrew01 (3/25/2014)
March 25, 2014 at 10:20 am
Viewing 15 posts - 6,871 through 6,885 (of 26,490 total)