Viewing 15 posts - 7,816 through 7,830 (of 8,760 total)
Lynn Pettis (7/16/2014)
Eirikur Eiriksson (7/16/2014)
Lynn Pettis (7/16/2014)
TomThomson (7/16/2014)
Jack Corbett (7/16/2014)
Steve Jones - SSC Editor (7/16/2014)
GilaMonster (7/16/2014)
Jeff Moden (7/15/2014)
July 16, 2014 at 11:08 am
Lynn Pettis (7/16/2014)
TomThomson (7/16/2014)
Jack Corbett (7/16/2014)
Steve Jones - SSC Editor (7/16/2014)
GilaMonster (7/16/2014)
Jeff Moden (7/15/2014)
July 16, 2014 at 10:31 am
Welsh Corgi (7/16/2014)
How do I drop the DROP DATABASE ENCRYPTION KEY & DROP MASTER KEY ?I tried but I was unsuccessful.
Did you try the code from this post?
😎
July 16, 2014 at 10:23 am
TomThomson (7/16/2014)
Welsh Corgi (7/16/2014)
If you were to execute the code that I posted you will find that it does not not store a...
July 16, 2014 at 9:37 am
There are some errors in your code, mainly table an column references (non existing table and/or column)
Here is an example using code I pointed to earlier
😎
USE tempdb;
GO
CREATE TABLE dbo.Name_and_SSN
(Full_Name VARCHAR(50),
encodedSSN...
July 16, 2014 at 9:15 am
On the line of George Orwell, "one-size-fits-all as not all sizes are equal"
😎
July 16, 2014 at 7:14 am
Sean Pearce (7/16/2014)
File Version 2014.120.2000.8
Product Version 12.0.2000.8
Size 409 KB
As a workaround, and the method I used to prove my...
July 16, 2014 at 4:36 am
Valbuenito (7/16/2014)
Thanks for your reply.
But, I do not think that answers my problem because I don't master on my parameter.
This request comes of Reporting, and the parameter is a...
July 16, 2014 at 3:23 am
Quick thought, use the NULLIF function
😎
USE tempdb;
GO
DECLARE @TEST TABLE (STR_VAL VARCHAR(50) NOT NULL);
INSERT INTO @TEST(STR_VAL) VALUES ('ABC'),('DEF'),('NULL'),('JKL'),('NULL');
SELECT
T.STR_VAL
,NULLIF(T.STR_VAL,'NULL') AS STR_VAL_NULL
FROM @TEST T
Results
STR_VAL STR_VAL_NULL
--------...
July 16, 2014 at 2:14 am
Hmm, 4,85 x 10^14, that would be one row for each mile of blood vessel in every human on earth:w00t:
😎
July 16, 2014 at 1:35 am
Here is an example of encryption - decryption of an XML node, the principle is the same for a column.
😎
July 15, 2014 at 10:35 pm
Quick suggestion, add the .value() method to get the correct output
😎
select
mult1.VisitID
,mult1.AbstractID
,(select
Response + ','
from
[livedb_daily].[dbo].[AbsProjectsQueriesMultCs] mult2
where
mult2.VisitID=mult1.VisitID
and mult2.AbstractID=mult1.AbstractID
order by
mult2.VisitID
,mult2.AbstractID
for xml path (''), TYPE).value('.[1]','NVARCHAR(MAX)') as overall
from
[livedb_daily].[dbo].[AbsProjectsQueriesMultCs] mult1
where
mult1.VisitID='RA0-20120603025910735'
and mult1.[Query]='Additional Notes'
group by
mult1.VisitID
,mult1.AbstractID
July 15, 2014 at 4:18 am
This should get you started, find where lines drawn between every other point defining the circle crosses
😎
USE tempdb;
GO
DECLARE @CIRCLE GEOMETRY = 'CIRCULARSTRING (52.6107417597068 -1.19053984363516, 52.6107417597068 -1.19185949047026, 52.6114844449159 -1.19185949047026, 52.6114844449159 -1.19053984363516,...
July 15, 2014 at 3:42 am
panneermca35 (7/15/2014)
Please read the following query.
DECLARE @MyXML XML
SET @MyXML = '<Item>
<Item accountnumber="900044010163" versionnumber="1" repaymentdate="2013-09-05" />
</Item>'
DECLARE @i INT
EXEC sp_xml_preparedocument @i OUTPUT, @MyXML
select * from OPENXML(@i, '/Item/Item') order...
July 15, 2014 at 3:08 am
Simplest method is to use STBuffer, the parameter passed is effectively the radius.
😎
DECLARE @CIRCLE GEOMETRY = geometry::Point(1.00,1.00,0).STBuffer(1);
SELECT @CIRCLE
July 15, 2014 at 3:02 am
Viewing 15 posts - 7,816 through 7,830 (of 8,760 total)