Viewing 15 posts - 17,356 through 17,370 (of 59,067 total)
MMartin1 (6/28/2016)
/* block 1*/
SELECT ...
FROM ProductionDB_test.dbo.tableA
I...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 6:00 pm
manderson 20961 (6/28/2016)
Sorry guys my first post on here. I'll try to be better the next time. Thanks for all your help!
Understood. Please see the first link under "Helpful...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 5:48 pm
Steve Jones - SSC Editor (6/28/2016)
Jeff Moden (6/25/2016)
From the Article:
“This doesn’t work like it used to.”
While I agree that it probably has fewer bugs that previous releases, this one...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 5:19 pm
angelreynosog (6/28/2016)
It is the same query , not wanting to send it twice
I don't believe you included the results from the SELECT that Gail pointed out.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 4:40 pm
durga.palepu (6/28/2016)
Yet another good alternative to learn but little complex compared to pivot solution.
It depends. Did you read the article I recommended? Pivot doesn't do so well on...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 4:37 pm
ScottPletcher (6/28/2016)
Jeff Moden (6/28/2016)
David92595 (6/28/2016)
Because I inherited this database and the person that made it thought in spreadsheets not relational tables.
Thank you! Are their any other good ways to stop...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 4:13 pm
David92595 (6/28/2016)
If im going to hard code it wouldn't it just be easier (i.e. not having to create a view) to go with the IF @State = 'AZ'...
Its hard...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 4:09 pm
MMartin1 (6/28/2016)
aj2red (6/24/2016)
However, I don't.
For example:
We have written multiple...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 4:01 pm
David92595 (6/28/2016)
Because I inherited this database and the person that made it thought in spreadsheets not relational tables.
Thank you! Are their any other good ways to stop a sql injection?...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 12:13 pm
Luis Cazares (6/28/2016)
Jeff Moden (6/27/2016)
Quote the OPs post where he posted the data and you'll see that the spaces are not where you expect. The sub-fields within the column...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 7:31 am
Charmer (6/27/2016)
The ReportDate values can be anything. I want dynamic.
Please see the following article for a simple method to make such reports dynamic.
http://www.sqlservercentral.com/articles/Crosstab/65048/
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 7:14 am
David92595 (6/28/2016)
I am trying to dynamically update a table (as much as possible) based on a parameter. However, because I'm trying to avoid SQL injection I'm hard coding the table...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 28, 2016 at 7:02 am
Luis Cazares (6/27/2016)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2016 at 8:31 pm
mw112009 (6/27/2016)
This is not for display purposes.
It is for a TAB delimited file that goes to another company.
I am not sure why they can not handle dates in the mm/dd/yyyy...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2016 at 8:16 pm
Sangeeth878787 (6/27/2016)
I need to add new column to the table, for this requirement is move the data to temp table and drop the table and create the same table with...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 27, 2016 at 8:44 am
Viewing 15 posts - 17,356 through 17,370 (of 59,067 total)