Viewing 15 posts - 7,471 through 7,485 (of 8,760 total)
CELKO (8/19/2014)
First learn that a row is not a record; this is a fundamental concept.Next, look at CREATE SEQUENCE.
Hey Joe,
would you care to share a definition of the...
August 19, 2014 at 12:33 pm
Alvin Ramard (8/19/2014)
Ed Wagner (8/19/2014)
SQLRNNR (8/19/2014)
Luis Cazares (8/19/2014)
Lynn Pettis (8/19/2014)
August 19, 2014 at 12:02 pm
John Mitchell-245523 (8/19/2014)
Eirikur Eiriksson (8/19/2014)
Quick suggestion, skip the string manipulation, use math and then format to taste.😎
Normally, I'd agree you. On this occasion, however, the string manipulation appears to...
August 19, 2014 at 10:19 am
Using Tavis's data sample, here is a slightly more efficient query
😎
DECLARE @ID INT = 2;
-- Set up table variable
DECLARE @test_XMLQuery1 TABLE (
ID INT PRIMARY KEY,
MSG NVARCHAR(MAX) NOT NULL);
-- Insert some...
August 19, 2014 at 6:21 am
sgmunson (8/19/2014)
August 19, 2014 at 5:41 am
Quick suggestion, skip the string manipulation, use math and then format to taste.
😎
DECLARE @TIMEDECIMAL decimal(8,0) = 12310476;
SELECT
CONVERT(VARCHAR(5),DATEADD(MINUTE,(FLOOR((@TIMEDECIMAL / 10000) / 100) * 60)
...
August 19, 2014 at 5:33 am
Luis Cazares (8/18/2014)
DELETE MySchema.Facttable
WHERE datecol = @Date;
It's part of...
August 19, 2014 at 12:56 am
ringovski (8/19/2014)
Thanks for the reply, how do you create a TSV file from a XML\XSLT file?
TSV stands for Tab Separated Values, since your incoming data is in XML format I...
August 19, 2014 at 12:34 am
Quick thought, why going through all this trouble with the case statement in the dynamic sql?
😎
declare @b-2 int
declare @action varchar(100)
declare @dbname varchar(100)
declare @a int
set @dbname = 'adt'
set @action = 'dfgf'
set...
August 18, 2014 at 2:56 am
Koen Verbeeck (8/18/2014)
SQLRNNR (8/15/2014)
sestell1 (8/15/2014)
XML... yuck. :sick: :laugh:+1
+2
Thanks for the question.
<post>
<respond type="forum reply" >
<author username="Eirikur Eiriksson"
...
August 18, 2014 at 1:27 am
protix (8/6/2014)
is it possible to create a cluster configuration, where 2 (or more) SQL Server instances running on different servers will simultaneously serve the same database attached to the same...
August 17, 2014 at 4:24 pm
t.mounika01 (8/17/2014)
oh..thank you 🙂
No worries. Just a quick question, it puzzles me how an empID can bear any weight on a salary, can you explain this?
😎
August 17, 2014 at 4:24 pm
t.mounika01 (8/17/2014)
August 17, 2014 at 4:09 pm
Erland Sommarskog (8/17/2014)
TomThomson (8/17/2014)
Erikur's advice is all good.Erikur?
Hi Erland, I think Tom is mixing up us two from way up north, even the confusion is misspelled;-)
My (Eirikur :-D) first question...
August 17, 2014 at 3:29 pm
There is definitely some room for improvement here but first can you provide the yearweek population code?
😎
August 17, 2014 at 6:28 am
Viewing 15 posts - 7,471 through 7,485 (of 8,760 total)