Viewing 15 posts - 256 through 270 (of 373 total)
Thanks for posting this. It is going to come in quite handy.
Kurt
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 25, 2013 at 7:44 am
I like door #2 better with the Left Join.... 😉
Kurt
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 24, 2013 at 7:43 am
ksatpute123 (9/23/2013)
WITH cte_insert_report_recipients
AS
(
select a.*,CONVERT(VARCHAR(10),a.[ATID])
+ CONVERT(VARCHAR(10),[AID])
+ CONVERT(VARCHAR(10),a.[ReportID])
+ CONVERT(VARCHAR(10),a.[Frequency])
+ CONVERT(VARCHAR(10),a.[RecipientId])
+ CONVERT(VARCHAR(10),a.[DeliveryMethod]) [ID] from ReportSchedules a
)
insert into ReportRecipients
select
b.ReportID,
b.ATID,
...
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 23, 2013 at 12:29 pm
I find this thread interesting that it portrays the current need at the time to move data or databases around. We all know there are certain things that take...
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 23, 2013 at 8:31 am
Looking at this reinforces the fact that not all programmers are good programmers. Some coders just don't get it. Sorry.
Kurt
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 13, 2013 at 12:10 pm
John Chapman (9/12/2013)
- Functions have some limitations (can't execute stored procedures or use temporary tables for example). Occasionally, this can bite because TTs allow for...
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 13, 2013 at 9:37 am
Is there a more specific error?
Kurt
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 13, 2013 at 9:33 am
When ever I have to rely on dynamic SQL I print it out before I execute it. This way I can see if there are any syntax errors in...
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 13, 2013 at 9:20 am
I worked on an application where by all tables in the database had audit information. The audit information contained Created By, Created Date, Updated By, Updated Date. All...
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 10, 2013 at 8:22 am
These are the kinds of utilities I tend to create over and over due to ever changing requirements. Case in point, I had to rebuild a mirror server from...
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
September 10, 2013 at 8:05 am
Typically is is bad practice to use SELECT *, especially when creating a view. I always make it a practice to fully qualify my selects. If this were...
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
May 31, 2013 at 12:05 pm
Is this a homework assignment?
Kurt
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
May 20, 2013 at 2:27 pm
This was my experience as well. I have battled with this printing issue for so long I have more or less given up on trying to print an ER...
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
March 6, 2012 at 10:41 am
Consider using an INSERT/UPDATE trigger on the table.
Kurt
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
August 18, 2011 at 1:55 pm
pshaship (8/18/2011)
How could we do that in single step instead of doing per database?
use [WSS_Content]
if not exists
(select * from...
Kurt W. Zimmerman
SR DBA
Lefrak Organization
New York, NY
http://www.linkedin.com/in/kurtwzimmerman
August 18, 2011 at 1:22 pm
Viewing 15 posts - 256 through 270 (of 373 total)