Viewing 15 posts - 4,681 through 4,695 (of 5,588 total)
Other options to consider are:
Log Shipping
Clustering
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 4, 2010 at 11:29 am
Each instance on a cluster needs to be installed on it's own resources. So, in Cluster Administrator, add a new group, and add your (new) Drive resources to that group....
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 4, 2010 at 10:08 am
<beat head on wall>.....
I spent over an hour on the web, trying out different things before posting this question. Then, after posting, I tried one other thing and it worked.....
Set...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 10:53 pm
balbirsinghsodhi (3/3/2010)
Msg 102, Level 15, State 1, Line 2
Incorrect syntax near 'GO'.
Msg 111, Level 15, State 1, Line 3
'CREATE VIEW' must be the first...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 5:21 pm
anitha.cherukuri (3/3/2010)
Thanks friends,It worked excellent..............
Once again thanks for your help...
There are 3 different examples above... which one did you end up using?
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 5:16 pm
Suresh Kumar-284278 (3/3/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 5:13 pm
If your time is stored as character data, try this:
declare @i varchar(4)
set @i = '1'
select stuff(right('0000'+@i,4),3,0,':')
if it's stored as numeric data, try this:
declare @i int
set @i = 1
select stuff(right('0000'+convert(varchar(4),@i),4),3,0,':')
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 4:07 pm
nguyennd (3/2/2010)
CREATE TABLE [dbo].[A](
[K] [int] NOT NULL,
[V] [varchar](50) NOT NULL,
CONSTRAINT [PK_A] PRIMARY KEY CLUSTERED
(
[K] ASC,
[V] ASC
)
SQL
DECLARE @a int = 1 --or NULL,...
SELECT * FROM A WHERE @a is...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 4:00 pm
Tom, Brad, "tstaker", Randy and Jason: I'm glad you'll liked the article... and I hope you never need to reference it!
@jason: plus, you get a point for doing so. 😉
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 2:29 pm
Lynn Pettis (3/3/2010)
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 9:51 am
tstaker (3/3/2010)
"Then, verify your backup – until you do so, you don’t know if it’s good or not. In case you manage to really mess up...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 9:36 am
I agree that experience counts.
But what irks me even more is the places that won't even look at you if you don't have a college degree... I've been in...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 8:13 am
Check out Books Online (BOL) for the ROW_NUMBER() function... with this, you can easily accomplish what you are trying to do.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 7:13 am
Lot's of good questions Roy.
As one of the people that does have certs, I like them. I know that I meet the minimum standards for being a MCDBA / MCIPT...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 3, 2010 at 6:59 am
Lowell,
This works for me...
declare @input varchar(max)
--set @input = char(13) + char(10) + '
set @input = '
--for users who are too lazy to type "SELECT * FROM" ...
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
March 2, 2010 at 11:10 am
Viewing 15 posts - 4,681 through 4,695 (of 5,588 total)