Viewing 15 posts - 3,946 through 3,960 (of 8,731 total)
Setting ANSI_NULLS off would give you the expected results. But I won't recommend on doing that other than general testing for additional knowledge.
:exclamation:Important
In a future version of SQL Server, ANSI_NULLS...
October 29, 2015 at 10:07 am
g.britton (10/29/2015)
October 29, 2015 at 10:02 am
ChrisM@Work (10/29/2015)
Ed Wagner (10/29/2015)
yb751 (10/29/2015)
I was thinking about unleashing it but then I...
October 29, 2015 at 9:14 am
dbman (10/29/2015)
I have actually got the data importing into APP1 table, however im struggling to see how APP2 and other APP lines can be split to begin a new import...
October 29, 2015 at 7:41 am
Try querying:
sys.views
sys.sql_modules
sys.columns
What specific metadata do you need?
October 28, 2015 at 2:42 pm
Just so you know, a well written cursor or while loop can be better than a recursive CTE. I made a test some time ago and it's published in here:...
October 28, 2015 at 11:45 am
This is how I would do it if there's no option to correct the data to save the date as a real date and not part of the string.
CREATE...
October 28, 2015 at 7:26 am
freyes (10/28/2015)
I tink the question must include the collation, because if the collation is case sensitive the answer will be 2.
Unless otherwise specified, the default settings are used, which include...
October 28, 2015 at 7:03 am
My guess is that Steve selected the wrong answer as correct answer, as the explanation says all the rows are returned.
He's at PASS Summit, so he might not be able...
October 28, 2015 at 6:55 am
yb751 (10/27/2015)
Awesome solution Luis, I'm going to keep this one for a rainy day. Just curious why you created a @date_serial variable. Is it needed?
Yes, it's needed to...
October 27, 2015 at 2:03 pm
whereisSQL? (10/27/2015)
crookj (10/27/2015)
happygeek (10/27/2015)
Ed Wagner (10/27/2015)
happygeek (10/26/2015)
Luis Cazares (10/26/2015)
crookj (10/26/2015)
whereisSQL? (10/26/2015)
Ed Wagner (10/26/2015)
DonlSimpson (10/26/2015)
Ed Wagner (10/26/2015)
eccentricDBA (10/26/2015)
Luis Cazares (10/23/2015)
happygeek (10/23/2015)
SpicesGirls
Pop
Coke
Cartel
Tunnel
Smuggle
Snuggle
Struggle
Fight
UFC
Cage
Luke
PowerMan
Jessica
October 27, 2015 at 12:50 pm
This looks very similar to a running total problem (except that there's no total). This can be managed by the quirky update, a cursor or a triangular join. Here's a...
October 27, 2015 at 12:31 pm
You can either download the last version of SQL Server Management Studio which is "standalone". https://msdn.microsoft.com/en-us/library/mt238290.aspx
Or you can download an express version of SQL Server which includes it (be sure...
October 27, 2015 at 11:34 am
You can use cross tabs to convert rows into columns. You can fine more information in these articles:
http://www.sqlservercentral.com/articles/T-SQL/63681/
http://www.sqlservercentral.com/articles/Crosstab/65048/
Here's an example based on your sample data.
SELECT MAX( CASE WHEN id =...
October 27, 2015 at 8:07 am
Brandie Tarvin (10/27/2015)
We have the URLDefense ProofPoint software to prevent bad URL links. But when the site goes down, so does our ability to navigate to the sites in the...
October 27, 2015 at 7:32 am
Viewing 15 posts - 3,946 through 3,960 (of 8,731 total)