Viewing 15 posts - 4,636 through 4,650 (of 6,486 total)
MercuryNewt (2/20/2008)
Matt Miller (2/20/2008)
Would this have anything to do with using Native format (as opposed to character format?)Is that an argument I can add to the command call?
the -n on...
February 20, 2008 at 2:35 pm
What Adam said....:)
Time to change the bag on the caffeine infusion..... :blink:
February 20, 2008 at 2:25 pm
This might very well suck performance-wise against your data, but here goes:
drop table overlap
drop table #mytable
go
create table overlap(rid int identity(1,1), st datetime, ed datetime,amt money)
go
insert overlap(st,ed,amt)
select '01/01/2008' ,'01/10/2008' ,'1.00'...
February 20, 2008 at 2:20 pm
don't sort by the converted dates. Sort by the "raw" date:
Select Location,
CONVERT(CHAR(10), datetimestamp, 101) as "Date",
...
February 20, 2008 at 1:35 pm
Also - you don't get an error, because your WHERE clause is throwing out the update.
If you want the CATCH to fire - take the WHERE clause out.
Better yet -...
February 20, 2008 at 1:31 pm
Would this have anything to do with using Native format (as opposed to character format?)
February 20, 2008 at 1:24 pm
Besides this being a double-post.... Isn't the Server and DB setting missing? (don't you have to tell it which server to talk to?)
February 20, 2008 at 12:44 pm
..please don't forget to turn the Array into an XML data stream as the output....
or
...be sure to do all of your data conversions (to wide Char(400) strings of course) FIRST...
February 20, 2008 at 12:23 pm
Sorry I'm showing up late to the party...:), but - you don't really need to use a function for this. You can simply flip the LIKE syntax on its...
February 20, 2008 at 10:36 am
By the way - there are commas missing in my original query (that's going to confuse the old parser).
That should actually be:
select
...
February 20, 2008 at 10:19 am
I'm not a BCP expert - but you're not specifying database and server to run this against. Assuming you do that - I'm thinking you'll be back to needing...
February 20, 2008 at 9:45 am
Well - without any specifics, it's going to be tough to know if this is applicable. However - assuming your table had an XML column called X, and X...
February 20, 2008 at 9:31 am
You're looking to filter on a grouped running count. Meaning - create a running count (which then "creates" the ranking for the TOP x concept), and then filter by...
February 20, 2008 at 9:20 am
Here's the Technet article on how to move system DB's:
February 20, 2008 at 8:57 am
TOP xx entails an order (you have to establish a ranking of some kind in order to figure out which ones are "top"), so - you I'm thinking...
February 20, 2008 at 8:47 am
Viewing 15 posts - 4,636 through 4,650 (of 6,486 total)