Viewing 15 posts - 661 through 675 (of 1,246 total)
Or if you want to make this look more to what you may be familiar with, drawing off of your example ,
USE tempDB;
GO
/* ----------------------------- */
CREATE TABLE #stakeholder_notes(
note_id INTEGER NOT...
----------------------------------------------------
January 5, 2016 at 1:39 pm
Great, Sean's example solves this. You can refer to his last post.
----------------------------------------------------
January 5, 2016 at 1:19 pm
sartis (1/5/2016)
MMartin1 (1/5/2016)
----------------------------------------------------
January 5, 2016 at 1:01 pm
You provided sample data and the tables structure. Can you also provide what you want the final output to look like? We may be able to fill in the gap...
----------------------------------------------------
January 5, 2016 at 11:52 am
I prefer CTEs when one recordset depends on the prior. This could be potentially quite confusing with multiple subqueries
With Cte0 as
(
SELECT /* some record set */
),
Cte1 as
(
SELECT /* ..*/
FROM...
----------------------------------------------------
January 5, 2016 at 11:23 am
If you right click a column in a table, and choose properties >
you will see a node for 'Extended Properties.' Here you define what you want to add to...
----------------------------------------------------
January 4, 2016 at 6:20 pm
Aside from the task of somehow accounting for the same client across the two databases potentially, a thought I have is that in theory you can load the ids for...
----------------------------------------------------
January 4, 2016 at 4:39 pm
Solomon Rutzky (12/29/2015)
Eric M Russell (12/26/2015)
----------------------------------------------------
January 4, 2016 at 4:06 pm
Re1 (12/29/2015)
Thanks Luis it works fine
Hi, did you make use of the "DelimitedSplit8K" function?
----------------------------------------------------
January 4, 2016 at 3:34 pm
My first impression when I see these restrictions is, if this is a test or homework question for a class.
----------------------------------------------------
December 30, 2015 at 3:45 pm
Jeff Moden (12/25/2015)
WHERE ISNULL(SomeNumericColumn,0) > 0
...
WHERE ISNULL(SomeCharacterColumn,' ')...
----------------------------------------------------
December 30, 2015 at 3:36 pm
Jeff Moden (12/28/2015)
Alan.B (12/28/2015)
Someone beat me to it but NOLOCK table hints are the #1 mistake I have seen.
Heh... apparently, thousands of people agree with you. Instead, they...
----------------------------------------------------
December 30, 2015 at 3:29 pm
Eric M Russell (12/30/2015)
Orlando Colamatteo (12/30/2015)
----------------------------------------------------
December 30, 2015 at 3:06 pm
As the name implies, staging is just that. The data is not meant to be a permanent fixture, otherwise call it a operation data store. If the goal is auditing...
----------------------------------------------------
December 30, 2015 at 2:12 pm
SQL-DBA-01 (12/30/2015)
Soemthing is wrong here in the question. I guess the choice should be "only 1".orderstatus can not be changed to "OrdeNotes" as summarynote is dependent on OrderNotes!!
+1
I avoided...
----------------------------------------------------
December 30, 2015 at 1:49 pm
Viewing 15 posts - 661 through 675 (of 1,246 total)