Viewing 15 posts - 616 through 630 (of 1,497 total)
The GUID just needs to be unique, why do you want to order by it?
Looking at your last query does:
ORDER BY alber_no, linea_no;
do what you want?
June 15, 2016 at 6:22 am
As Lowell has already mentioned, your question does not make sense. A table being an UNORDERED set is a fundamental part of relational theory.
The only guaranteed way to order a...
June 15, 2016 at 5:40 am
Brandie Tarvin (5/19/2016)
Ken McKelvey (5/18/2016)
tcalloway (5/17/2016)
May 19, 2016 at 6:21 am
tcalloway (5/17/2016)
May 18, 2016 at 2:30 pm
SELECT * FROM TBL_metrics T
PIVOT (MAX(MetricValue) FOR Metric IN ([Torque], [BHP]) ) P
May 7, 2016 at 2:35 pm
or use SELECT INTO:
SELECT <YourCols>
INTO #tbl
FROM <YourTables>
WHERE 1 = 0;
ALTER TABLE #tbl ADD PRIMARY KEY (<YourCol(s)>);
--etc
This has the advantage that datatype changes will also be picked up.
May 5, 2016 at 7:37 am
An alternative would be be have an XML column in the base table where user defined fields could be placed. This would give you the option to use indexes if...
April 19, 2016 at 7:13 am
Try splitting the MERGE out into its component INSERT, UPDATE and DELETEs.
https://www.mssqltips.com/sqlservertip/3074/use-caution-with-sql-servers-merge-statement/
April 13, 2016 at 6:28 am
I have just done a search and came across:
http://www.doogal.co.uk/AdministrativeAreas.php?district=E09000001
March 30, 2016 at 10:16 am
Your problem is that postcodes are designed to direct mail so postcode districts do not always tie up with geographic areas of administration.
I suspect you are going to need all...
March 30, 2016 at 7:52 am
Your description of what you want does not tie up with your results.
I agree with Sergiy, it is not complicated. Try playing with:
SELECT COALESCE(S1.PERSON, S2.PERSON) AS Person
,COALESCE(S1.STARTDATE, S2.STARTDATE) AS StartDate
,COALESCE(S1.END_DATE,...
March 15, 2016 at 5:25 am
This looks like a rather contrived example for a FULL JOIN to me.
March 14, 2016 at 8:45 am
The OP might like to look at the following article:
https://www.mssqltips.com/sqlservertip/2231/avoid-external-dependencies-in-sql-server-triggers/
March 10, 2016 at 4:09 am
There are plenty of articles on how to use Net Manager and set up an Oracle linked server.
Here is the first one I came across:
http://sqlmag.com/sql-server/connecting-sql-server-and-oracle-using-linked-servers
February 23, 2016 at 11:44 am
Viewing 15 posts - 616 through 630 (of 1,497 total)