Viewing 15 posts - 1,996 through 2,010 (of 15,381 total)
Luis Cazares (12/3/2015)
Sean Lange (12/3/2015)
Alan.B (12/3/2015)
I am curious about a couple things here.
Why MAX(c)?
(MAX(c),'No Colour')
To always return a row, either with a value or a null. I might have done...
December 3, 2015 at 2:02 pm
dallas13 (12/3/2015)
I...
December 3, 2015 at 1:55 pm
Since nobody mentioned it I will. You really should avoid using the sp_ prefix. You should use a different prefix, or even better drop the prefix entirely. http://sqlperformance.com/2012/10/t-sql-queries/sp_prefix
December 3, 2015 at 1:49 pm
Alan.B (12/3/2015)
I am curious about a couple things here.
Why MAX(c)?
(MAX(c),'No Colour')
Also, why wrap the column and the variable with LOWER? Unless this is a case sensitive collation this provide any...
December 3, 2015 at 1:45 pm
Nilssond (12/3/2015)
Table has multiple dated records for each category, I need to extract the 2 most recent records by category.
SAMPLE DATA:
CREATE TABLE CATEGORYHISTORY(
CAT_ID VARCHAR(5),
STARTDATE DATE,
ENDDATE DATE,
REASON CHAR(1))
INSERT INTO CATEGORYHISTORY...
December 3, 2015 at 12:45 pm
Lowell (12/3/2015)
dallas13 (12/3/2015)
I tried it but its giving me error.ALTER TRIGGER [TR_LOGON_APPUSER_SSMS]
EXECUTE AS OWNER
i have a couple of model DDL triggers that execute as specific users; i think that's the...
December 3, 2015 at 12:40 pm
Steve Jones - SSC Editor (12/3/2015)
On the list
Checking it twice...
Thanks!!
December 3, 2015 at 8:23 am
Steve Jones - SSC Editor (12/3/2015)
We are...
December 3, 2015 at 8:21 am
steve_fowkes_853 (12/3/2015)
Hi thanks SScoachI can't see anywhere connectionsstrings.com where it gives a connection string from to query a linked SQL table in access
It is not exactly clear what...
December 3, 2015 at 8:18 am
mw112009 (12/3/2015)
Can anyone add a join and make it useful so that it will show the name of the
person running the query( or stored proc )
Right now...
December 3, 2015 at 8:16 am
dndaughtery (12/3/2015)
Yeah, was trying to save time loading the CTE but guess I can't get around it
Save time? It is like 3 seconds to wrap that in a cte. Certainly...
December 3, 2015 at 7:39 am
dndaughtery (12/3/2015)
December 3, 2015 at 7:28 am
How about this? http://connectionstrings.com/%5B/url%5D
December 3, 2015 at 7:25 am
mastersql (12/2/2015)
I've now found a YouTube clip which says you shouldn't use export and import for SQL database to SQL database.
It says use the Copy Database option with SSMS...
December 2, 2015 at 1:14 pm
Viewing 15 posts - 1,996 through 2,010 (of 15,381 total)