Viewing 15 posts - 1,141 through 1,155 (of 1,169 total)
preetham gowda (4/10/2012)
Whats the o/p of below query at first place?select CountyFIPS
from ##test_backfillGeo
where CountyFIPS not like ''
Hi,
In your query you can combine the LEN function with RTRIM and LTRIM and...
April 10, 2012 at 1:25 am
kstephens 90242 (4/9/2012)
so the data is in the correct format.
so instead of name+name I will insert this...
April 9, 2012 at 12:26 pm
pjdiller (4/9/2012)
SELECT 1-(compressed_backup_size/backup_size) FROM msdb..backupset
To be not given 0.0000 values from your query, you first make a backup on a database with a compression option.
The question is really good.
April 9, 2012 at 12:15 pm
Hi All,
Yes, I agree with some members that the question is a bit ambiguous, but I put the third option to make the question “ambiguous” i.e. to make you think...
April 6, 2012 at 4:12 am
n00bDBA (3/31/2012)
If I create a SQL Login using a Active Directory Account is there a way to check if the account can log into SQL Before i give it...
April 1, 2012 at 7:25 am
Yes, SSAS is aimed for analysis.
A good reference is for example "Applied Microsoft Analysis Services 2005 and Microsoft Business Intelligence Platform" from Teo Lachev
Regards
April 1, 2012 at 7:10 am
--SQL 2012
CREATE TABLE [dbo].[test](
[int] NULL
)
CREATE SYNONYM [dbo].[testSinonim] FOR [mytestdb].[dbo].[test]
GO
Alter table test
Add j int null
--================
After scripting the table, the result is following
CREATE TABLE [dbo].[test](
[int] NULL,
[j] [int] NULL
)
I just want...
April 1, 2012 at 6:42 am
GilaMonster (3/24/2012)
IgorMi (3/24/2012)
My right question is if I'd have any other problems returning from SQL Server 2012 to 2005 by using Attach/Detach?
Yes. It won't work at all.
SQL databases can never...
March 24, 2012 at 5:44 pm
Cursors may be up to 10 times slower than set-based solutions when compared.
Cursors are used when you need to do operations on a relatively small set of objects, e.g. update...
March 24, 2012 at 12:32 pm
I run your question with
SET ANSI_NULLS ON and SET ANSI_NULLS OFF, and the result is same. I use SQL Server 2012
?
hm
?
March 23, 2012 at 3:54 pm
I like your question. Thanks. My learning is growing very fast with this community.
March 23, 2012 at 3:39 pm
Oh, I adore questions with fast retrieval of rows. Thank you
March 22, 2012 at 11:43 am
@@error will have the right error code if selected immediately after raiserror command
raiserror('oh no, another error!', 16,1)
select @@error
Thanks
March 21, 2012 at 5:33 pm
Useful question, thank you
The following query with same structure as those in the question produces 0 joins
SELECT *
FROM QOTD
where qotdid = 1
because of "QOTD" which is clustered index
March 21, 2012 at 12:25 pm
select * from ##TableNulls where col2 is not null
will give out the expected results at fist sight
Thank you for the question
March 21, 2012 at 11:28 am
Viewing 15 posts - 1,141 through 1,155 (of 1,169 total)