Viewing 15 posts - 736 through 750 (of 1,193 total)
davdam8 (10/22/2012)
ORDER BY CASE WHEN CARAC= 'None' THEN CARAC ELSE CARAC END DESC
That order by clause is functionally identical to "order by carac desc" 😀
If you could post your full...
October 22, 2012 at 9:57 am
Hi Thomas, what problem are you running into?
Thanks
Gaz
October 22, 2012 at 9:53 am
agabb (10/22/2012)
VALUES ('ABC CORP', '50 Langridge St.');
INSERT INTO [PROJECT] ([PROJ_NUMBER], [PROJ_NAME], CLIENT_ADDR_ID])
VALUES ('A445566', 'My Project Name',...
October 22, 2012 at 9:45 am
Add an order by clause, something like:
ORDER BY CASE CARAC WHEN 'None' THEN 1 ELSE 2 END ASC, PROJ ASC
October 22, 2012 at 8:53 am
Nils Gustav Stråbø (10/19/2012)
I know that SQL Server enforces unique constraints by creating unique indexs, but I wasn't sure if this...
October 19, 2012 at 2:58 am
Add more apostrophes 🙂
exec msdb.dbo.sp_send_dbmail
@profile_name = 'Default Public Profile',
@recipients = 'example@example.com',
--@copy_recipients = 'example@example.com',
@subject = 'I022 flows',
@query = 'select * from [GATEKEEPER].[dbo].[DATAFLOW_CLOB] where [RAW_CLOB]
LIKE ''AAA|S0141007%SPH%''',
@attach_query_result_as_file = 1,
@query_attachment_filename = 'test.csv'
GO
October 12, 2012 at 4:35 am
As it is, you can't. Would it be possible to execute the query, set the result to a variable, and then concatenate that to another variable for use in sp_send_dbmail?
e.g....
October 12, 2012 at 3:44 am
SET DATEFORMAT (which is implicitly set by using SET LANGUAGE) controls the interpretation of character strings into date datatypes.
You can see the effect here:
set dateformat mdy --(which would be set...
October 12, 2012 at 3:02 am
Yep. SSRS & BIDS are included in Express with Advanced Services. SSIS I'm less sure about.
October 9, 2012 at 10:01 am
+1 for SQLBits - I attended this year, really impressed. Hopefully I'll get there again next year.
October 9, 2012 at 5:21 am
Jason-299789 (10/9/2012)
Gazareth (10/9/2012)
Jason-299789 (10/9/2012)
Gazareth (10/9/2012)
terry999 (10/2/2012)
illegal?Hmm, yeah. Was wondering that myself!
I think that Joe was probably refering to some form of regulatory requirement, eg Sarbanes Oxley/solvency II or other federal...
October 9, 2012 at 4:30 am
Abu Dina (10/8/2012)
Gazareth (10/5/2012)Ha, you should try watching snooker!
How dare you!!!!!!
Snooker is brilliant to watch... OMG the skills required it's incredible!
Lol, apologies. Definitely a skillful game. Did used to watch...
October 9, 2012 at 4:13 am
Jason-299789 (10/9/2012)
Gazareth (10/9/2012)
terry999 (10/2/2012)
illegal?Hmm, yeah. Was wondering that myself!
I think that Joe was probably refering to some form of regulatory requirement, eg Sarbanes Oxley/solvency II or other federal requirement to...
October 9, 2012 at 4:11 am
vahid.arr (10/9/2012)
Gazareth (10/9/2012)
vahid.arr (10/9/2012)
October 9, 2012 at 4:05 am
Viewing 15 posts - 736 through 750 (of 1,193 total)