Viewing 15 posts - 1 through 15 (of 17 total)
AIRWALKER-375999 (12/21/2010)
the excel file our ssis packages uses goes on a short journey before it end up on the database server,
it is uploaded to an...
April 5, 2012 at 2:23 pm
I'm too busy to work out a script right now, but maybe you, or somebody else could benefit from hearing how I'd solve it:
January 20, 2011 at 12:24 pm
I did something similar at my last job, but I don't seem to have a copy. In short, you'd have to use information_schema and/or system views extensively.
A bit of...
January 10, 2011 at 11:31 pm
Ok here we go...
You'll need to build a tally table. Jeff Moden has an excellent article about tally tables here[/url].
After you have a tally table, create a test table with...
December 22, 2010 at 12:02 am
I'm dreaming up a solution using tally tables... What is your desired output? Number of occurrences, or indexes of occurrences?
December 21, 2010 at 11:28 pm
I imagine there are better ways to do this, but this is what I was able to come up with...
select * from
(
select *,
row_number() over(partition by postcode order by...
December 19, 2010 at 4:27 pm
Thanks for the response Gail,
I'll be dealing with possibly having to roll back locally installed databases, with numerous variations in schema. (I didn't create them!) I've never had much luck...
December 15, 2010 at 4:34 pm
If you want to script data, you'll need to explicitly set the option. Under the "Choose Script Options" dialog, scroll down, you'll see the "Script Data" option under the Table/View...
December 6, 2010 at 11:01 pm
Jeff Moden (11/28/2010)
Jason Norsworthy (11/28/2010)
... every constraint of every type will be named from now on.Thanks,
Jason
Just never name any constraint on a Temp Table or, like Craig said, you'll...
December 5, 2010 at 12:34 am
I think that option one is by far your best choice.
For option 2, I don't think you'd want to change the schema every time you want to add a...
November 29, 2010 at 11:59 pm
Thanks for the reply Craig (and for the helpful links in your sig :))
Visual studio's schema compare does indeed do some weird stuff with constraints when they are named/unnamed. After...
November 28, 2010 at 5:44 pm
Good points. I guess I'm looking for a webhost with sql server, or a evirtual host that I can install sql express on.
July 30, 2010 at 12:07 pm
I never really use sqlcmd, but maybe if you set nocount on in your statement, you will suppress the record counts - seems to work that way in SSMS
August 20, 2009 at 1:50 pm
Looks like line 66:
GETDATE()) + 11) AND (DATEPART(year, DOCDATE) = DATEPART(year, GETDATE()) - 1)), 0.0) AS PyrMonth1, e.VENDORID, ISNULL
You are sending 2 values to the isnull statement here.
August 19, 2009 at 6:31 pm
No Prob - us "Forum Newbies" have to stick together. I have also seen some examples when accessing properties rather than variables, the brackets are not used. Your example would...
August 19, 2009 at 4:06 pm
Viewing 15 posts - 1 through 15 (of 17 total)