Viewing 15 posts - 9,676 through 9,690 (of 14,953 total)
I guess it will probably depend on what output format you want. Are you simply printing a text file, or does it need to have some sort of formatting...
April 30, 2009 at 1:57 pm
Is what you're doing just a partitioned running total? That's what it looks like.
April 30, 2009 at 1:50 pm
Why not update all at once, and then do an insert of the rows that aren't in the target table. Two transactions. Should be pretty efficient, much more...
April 30, 2009 at 1:46 pm
I wrote a couple of articles on audit logging a while back. You might want to take a look at them, and (more importantly) at the discussions attached to...
April 30, 2009 at 9:59 am
You need to change a setting in Management Studio. In Tools, Options, Query Results, SQL Server, Results to Text, the default setting is 256 characters per column. Increase...
April 30, 2009 at 9:55 am
You go into every proc that has temp tables in it, and you rewrite it to use table variables. Change "create table #name" to "declare @name table", and search-and-replace...
April 30, 2009 at 9:50 am
I tried this, after setting the query output to Text ("Results to Text" instead of "Results to Grid"):
ALTER FUNCTION [dbo].[F_Table_Fields_Aliased](@Table varchar(200), @Prefix varchar(20))
RETURNS VARCHAR(MAX) AS
BEGIN
DECLARE @Output VARCHAR(max)
SET @OutPut = ''
SELECT...
April 30, 2009 at 9:44 am
If you view his member profile, it has a home page URL listed. However, it doesn't appear to be active.
You might try the "send an e-mail" option from his...
April 30, 2009 at 8:57 am
One thing you can do in a situation like this is, if the variable is null, assign it an impossible value.
For example, if it's supposed to be an integer value...
April 30, 2009 at 8:54 am
What does fn_trace_getinfo tell you about the trace?
April 30, 2009 at 7:46 am
Instead of a trigger, I'd put a flag column in the table, "IsPrinted" or some such name, and default it to 0. Then set up a job that runs...
April 30, 2009 at 7:07 am
I camped out in a line that went around the block multiple times and saw the first showing on opening day.
Saw it something like 30 times in the theatre the...
April 30, 2009 at 6:59 am
Krasavita (4/29/2009)
Can you write it I am confused.Thank you
UPDATE
dbo.TblCust
SET
LAST_NAME = CASE WHEN LAST_NAME LIKE '%,%'
...
April 30, 2009 at 6:48 am
That does sound like a better idea than separate filegroups in the database.
April 30, 2009 at 6:43 am
Bruce W Cassidy (4/29/2009)
Roy Ernest (4/29/2009)
I finished my article and it is on the way for publication... May 4th is the D-Day for me....
[font="Verdana"]Well done, Roy! International Star Wars...
April 29, 2009 at 3:11 pm
Viewing 15 posts - 9,676 through 9,690 (of 14,953 total)