Viewing 15 posts - 9,436 through 9,450 (of 13,469 total)
rvasanth
If this is more for documentational purposes, and not something you are trying to run live for every query, I think i have a potential solution. As already...
May 19, 2010 at 5:51 am
it's not truncating the data, jsut the display of it;
change this setting in SSMS: it's Under Tools>>Options; the default is to limit the results to 256 characters, like you've identified.

May 19, 2010 at 5:37 am
ok, still easy to do...can we assume the query results will be seen in text mode?
May 18, 2010 at 10:19 pm
yes, if you have a valid username/password, you can connect multiple times.
different people can connect from other computers using the same username and password as well.
there is no practical limit...
May 18, 2010 at 10:00 pm
i feel for you;
i did a search for "ascii art hearts" and found lots of examples;
i found this nice one ad wrapped it with the SELECT...UNION ALL, same that your...
May 18, 2010 at 9:53 pm
I've got a snippet I put together that searches for invalid views/procs/functions; if those objects don't compile anymore, it has to be due to a dependent object like a table...
May 18, 2010 at 4:44 pm
a fairly common question, actually; search for "unused procedures" and "unused tables", you'll see a ton of discussions, all pointing to Lutz's conclusion: any process, whether a trace or anything...
May 18, 2010 at 4:40 pm
damn Lutz; your's looks much better than mine, so i decline to post it 🙂
very nice job.
blade, if you look at Lutz's contribution, it's doing all your updates as calculations...no...
May 18, 2010 at 4:33 pm
table variables are notoriously slow when they get a lot of data in them, because they cannot take advantage of statistics; how many rows are in the table variable @LENNOXBILLING?...
May 18, 2010 at 4:01 pm
here's the second part of your calcualtion as well, i think:
;with myCTE as (
select row_number() over (order by odometer,event) as comprow,* from
(
select row_number() OVER (PARTITION BY odometer,event order by...
May 18, 2010 at 2:17 pm
clive thank you for making this so easy....the table definitions and data helps enourmously!
you rock!
here's how i'd "ignore" the double events in a row; i'm using row number and a...
May 18, 2010 at 2:02 pm
imani_technology (5/18/2010)
One small problem: the Derived Column Transformation doesn't seem to recognize Char(10). Here is what I used:(REPLACE(ReplacedDealName,Char(10),""))
sorry thought this was pure SQL;
i belive in SSIS, you have...
May 18, 2010 at 1:07 pm
looks like you'll need to add a trace specifically for login events.
it's not part of the default trace, i both tested it and checked the default trace's definition...no login audits...
May 18, 2010 at 1:03 pm
goodguy, why not build a view that creates the summary that you are looking for?
I avoid at all costs replacing detail data with summary data...besides the possbility of a mistake,...
May 18, 2010 at 12:48 pm
three part naming conventions is how i often do it:
Select ColumnName from DBname1.dbo.Table
UNION ALL
Select ColumnName from DBname2.dbo.Table
UNION ALL
Select ColumnName from DBname3.dbo.Table
May 18, 2010 at 12:42 pm
Viewing 15 posts - 9,436 through 9,450 (of 13,469 total)