Viewing 15 posts - 6,766 through 6,780 (of 13,469 total)
any recent version, including the latest version2.2. they all support command line for version 2.0 and above, and maybe earlier verisons.
here's the command line syntax doc:
September 19, 2011 at 7:06 am
hunt (9/19/2011)
I am not asking why my insert was falied ...am asking why SQL server accepts such a conflicting range of...
September 19, 2011 at 6:45 am
text to columns? do you mean that is 'rows to columns", or also known as a pivot or unpivot query?
the pseudocode you've got so far is not really enough for...
September 18, 2011 at 6:20 am
ColdCoffee you are right of course, but at least the function would be available for the duration of the migration/parsing she was doing;
i kind of assumed she was splitting data...
September 17, 2011 at 6:14 am
happiestgirl (9/16/2011)
Thanks so much. I'll probably go with the split idea. I think this is going to be fun incorporating this into one query (can't create functions). 🙂
be sneaky and...
September 16, 2011 at 2:39 pm
i've got a couple of suggestions for you;
here's a function CHARINDEX2, which allows you to find the nth occurrance of a string within-a-string:
/*
Example:
SELECT dbo.CHARINDEX2('a', 'abbabba', 3)
returns the location of the...
September 16, 2011 at 2:29 pm
did my example work for you?
September 16, 2011 at 12:27 pm
here's my best guess featuring a left outer join, but it seems wierd for my inner query alaised as MYTOTALS: i'm getting the accoutn number, and the distinct count...not sure...
September 16, 2011 at 12:17 pm
i didn't see any relationship between the two queries, so i could only assume a CROSS JOIN would be right.
does this do what you are looking for?
SELECT
a.accountnumber,
...
September 16, 2011 at 12:05 pm
you can wrap the commands for all 15 alters in a single transaction though...so you can make sure it's all or nothing.
SET XACT_ABORT ON --bailout and rollback on any error...
September 16, 2011 at 11:26 am
however, if htey connected using a SQL login, the windows username is not available in any way, shape or form, unless you specifically code an application to get the information...
September 16, 2011 at 9:28 am
well, this is syntactically correct, and a good basisi for the way I would do it; i changed your @body variable name, i hate having a local variable the smae...
September 16, 2011 at 8:45 am
piece of cake.
add some CSS to the top of your command to put the default style on the td tags.
my example here is using font size 11 points...change it to...
September 16, 2011 at 8:22 am
Sean Lange (9/16/2011)
Lowell that picture is awesome. It fits perfectly in another thread from a couple days ago. I will have to "steal" your pic and paste it in there.
kewl!...
September 16, 2011 at 7:34 am
ACinKC (9/16/2011)
September 16, 2011 at 7:15 am
Viewing 15 posts - 6,766 through 6,780 (of 13,469 total)