Viewing 15 posts - 931 through 945 (of 1,033 total)
I believe it goes something like this
INSERT INTO table1 DEFAULT VALUES
That is if what you say is true and you only have one column with a default value and you...
July 23, 2008 at 1:48 pm
Sorry... all the ORLY stuff got me going.. 🙂
July 23, 2008 at 1:41 pm
Actually
since from BOL I found
By default, the UNION operator removes duplicate rows from the result set. If you use ALL, all rows are included in the results and duplicates are...
July 23, 2008 at 11:07 am
I don't have 3 billion record tables to test with but...
Wouldn't something like this work?
INSERT INTO TABLED
SELECT
main.col1
FROM
(
SELECT col1 FROM TABLEA
UNION
SELECT...
July 23, 2008 at 10:28 am
Thanks!
I had known of FOR XML EXPLICIT after having to write a 30 column 7 layer XML query to generate a sales order for Biztalk to pickup. This is...
July 16, 2008 at 7:46 am
george sibbald (7/16/2008)
I only answered this so I could jump a month into the future and thus be on holiday.
Me too 🙂
July 16, 2008 at 7:37 am
Grant Fritchey (7/15/2008)
July 15, 2008 at 8:52 am
And if you try to next a subquery in the select portion of a query
i.e.
SELECT
howtojoin = (SELECT joinrequirements FROM requirements_table)
I will shoot you... 😛
July 11, 2008 at 9:32 am
Grant Fritchey (7/11/2008)
mtassin (7/11/2008)
Grant Fritchey (7/11/2008)
rbarryyoung (7/11/2008)
Grant Fritchey (7/10/2008)
There's an "Anti-Rbar Alliance"?How do you join? ...
Uhhhm, .. do you want it in SQL-92 syntax or SQL-89 syntax?
😀
You know, either way...
July 11, 2008 at 9:27 am
Grant Fritchey (7/11/2008)
rbarryyoung (7/11/2008)
Grant Fritchey (7/10/2008)
There's an "Anti-Rbar Alliance"?How do you join? ...
Uhhhm, .. do you want it in SQL-92 syntax or SQL-89 syntax?
😀
You know, either way works for me,...
July 11, 2008 at 8:55 am
Grant Fritchey (7/10/2008)
I promise, tomorrow, an example or a refutation and apology.
I do remember it having a big impact on performance in SQL 7... though I never could figure out...
July 10, 2008 at 2:12 pm
Grant Fritchey (7/10/2008)
July 10, 2008 at 1:29 pm
Grant Fritchey (7/10/2008)
There's an "Anti-Rbar Alliance"?How do you join? How much are the dues? Does the initiation involve sheep or goats?
You join by fighting it in the streets... in the...
July 10, 2008 at 1:23 pm
I too must agree with Grant... ANSI-92+ join syntax is easier to understand and much better in terms of self-documenting.
July 10, 2008 at 12:38 pm
Viewing 15 posts - 931 through 945 (of 1,033 total)