Viewing 15 posts - 586 through 600 (of 851 total)
[font="Verdana"]How's your CV/Resume looking?[/font]
February 19, 2009 at 1:50 pm
GSquared (2/19/2009)Nobody knows everything about SQL.
[font="Verdana"]...except for Gail. :D[/font]
February 19, 2009 at 1:29 pm
swmsan (2/18/2009)
Please Send it ....I will find the answers..Thanks.
[font="Verdana"]Frankly, if I were interviewing you, I would keep asking questions until I found something you didn't know about. Then I...
February 19, 2009 at 1:23 pm
[font="Verdana"]I'm tempted to just tell you to rewrite your solution without using a trigger. A gateway procedure is a better design, and has less performance issues. However... ...
February 19, 2009 at 1:09 pm
AnzioBake (10/23/2008)
Surely the more generic solution is not much more difficult and should be the prefered...
February 19, 2009 at 12:46 pm
[font="Verdana"]I'm not sure what you mean by "BI". However, I suggest you take a look at SQL Server Books Online, and look at the following topics:
Backup
Restore
Database Mirroring
Database Log Shipping
Replication
Good...
February 19, 2009 at 12:45 pm
[font="Verdana"]The dbo.date_format() function you are calling is not (so far as I know) a standard piece of SQL Server functionality. It looks like a function that someone has developed...
February 19, 2009 at 12:32 pm
[font="Verdana"]
Your trigger code contains statements like:
SET @CurrMonth = (Select ReportMonth from INSERTED)
But the INSERTED (and DELETED) pseudo-tables can contain more than one row. So when you try to do...
February 19, 2009 at 12:26 pm
[font="Verdana"]Wow. Do people actually write code that way? Who knew.
Okay, for coding styles, an excellent reference is Code Complete, by Steve McConnell. Look under section 7: High-Quality...
February 18, 2009 at 4:17 pm
[font="Verdana"]Try something like:
select date1,
comments,
case
...
February 18, 2009 at 3:30 pm
Bob Hovious (2/18/2009)
Undocumented system stored procedure: sys.sp_MSGoBackInTime ??
[font="Verdana"]Oh, the same one you use when you discover that the DBA hasn't tested the backups.
Didn't...
February 18, 2009 at 2:43 pm
Alvin Ramard (2/18/2009)
Ooops, I misread that at first. I thought Bruce was asking for intelligence in the code section.
[font="Verdana"]No. I was asking for the impossible, not the implausible.[/font]
February 18, 2009 at 2:09 pm
[font="Verdana"]Winks turning up in the code? I think the combination of tab-close bracket does it. I've started replacing tab characters in my posted code with spaces. That...
February 18, 2009 at 1:48 pm
[font="Verdana"]It's a type clash between the char(5) for solution_cde and the tinyint for app_sys_group_cde. You need to cast all of the columns that are going to be listed to...
February 18, 2009 at 1:43 pm
[font="Verdana"]I think you actually want to unpivot your data, rather than pivot it. It's already pivoted. So you would end up with something like this:
select row_num, [col_name], col_value
from...
February 18, 2009 at 12:44 pm
Viewing 15 posts - 586 through 600 (of 851 total)