Viewing 15 posts - 1,171 through 1,185 (of 2,458 total)
Like others have said, it will take some time to learn the basic so learn, learn, learn... practice, practice, practice and you'll figure out what you love.
Whatever you do,...
-- Itzik Ben-Gan 2001
November 10, 2015 at 11:09 am
ypeng5 (11/4/2015)
-- Itzik Ben-Gan 2001
November 9, 2015 at 6:11 pm
Play around with/get comfortable with FOR XML. There are 4 FOR XML methods, RAW, AUTO,EXPLICIT, PATH once you are comfortable with them you can export data into any XML format....
-- Itzik Ben-Gan 2001
November 8, 2015 at 9:24 pm
Here's a couple solutions (if I'm understanding this correctly).
The caveat here is that I'm understanding you problem, which I think I am.
If you can create an inline table...
-- Itzik Ben-Gan 2001
November 6, 2015 at 9:19 pm
Sergiy (11/4/2015)
NOLOCK without brackets is not a hint, but a table name alias.
So, the query would be...
-- Itzik Ben-Gan 2001
November 5, 2015 at 3:41 pm
As Lynn said, you probably don't need a cursor.
That said, you have no THEN statement in your CASE. A WHEN must be followed by a THEN.
-- Itzik Ben-Gan 2001
November 3, 2015 at 3:49 pm
To get values that exist in one table that do not exist in another you want to do an anti-join. You can accomplish with using WHERE NOT IN or WHERE...
-- Itzik Ben-Gan 2001
October 31, 2015 at 9:07 am
I'm sorry. I misunderstood your question. Like I said, I'm unfamiliar with SIOS and DxEnterprise. 🙁
-- Itzik Ben-Gan 2001
October 30, 2015 at 4:05 pm
Eirikur Eiriksson (10/30/2015)
jasona.work (10/30/2015)
Brandie Tarvin (10/30/2015)
-- Itzik Ben-Gan 2001
October 30, 2015 at 3:01 pm
Just to clear something up. You absolutely can use an alias inside a SQL query but only after the alias has been created. It's important to clear that up.
SQL...
-- Itzik Ben-Gan 2001
October 30, 2015 at 2:38 pm
Michelle-138172 (10/30/2015)
-- Itzik Ben-Gan 2001
October 30, 2015 at 2:10 pm
J Livingston SQL (10/29/2015)
see this article and read the comments from Jeff at the bottom of the article
Thanks Mr. Livingston. I just installed and played around with both of Jeff...
-- Itzik Ben-Gan 2001
October 29, 2015 at 9:12 pm
Phil Parkin (10/29/2015)
Alan.B (10/28/2015)
-- Itzik Ben-Gan 2001
October 29, 2015 at 7:38 pm
allnelsons (10/28/2015)
-- Itzik Ben-Gan 2001
October 28, 2015 at 1:15 pm
an even correcter answer would be:
It depends
(5 with a case insensitive collation, three if the collation is case sensitive. )
-- Itzik Ben-Gan 2001
October 28, 2015 at 8:47 am
Viewing 15 posts - 1,171 through 1,185 (of 2,458 total)