Viewing 15 posts - 436 through 450 (of 670 total)
Here is the syntax to get the values you are looking for. Essentially using a CTE to get last year and this year. Since this is using a...
January 26, 2011 at 7:46 am
This is a double post. Please reply to original post.
http://www.sqlservercentral.com/Forums/Topic1053496-149-1.aspx
January 25, 2011 at 1:29 pm
Do you have any table layouts, sample data and expected outcome that you can provide? That will make it easier for us to help you
January 25, 2011 at 1:28 pm
I took a stab at what you were looking for. I'm not sure what you are expecting for results in the first query, but to get the orphans, you...
January 25, 2011 at 1:19 pm
Ravi,
in the environment variables edit the Path and move the SQL Server paths in front of the Sybase paths. BCP will find the SQL Server version first that way.
You...
January 25, 2011 at 12:47 pm
Lutz, I tried your approach, but it took alot longer than the original. When Using OpenXML and shredding into a table variable the result took .073 ms. ...
January 14, 2011 at 9:22 am
Thanks, Lutz. I'll try it. I don't need the rownumber. I'm using the identity column from the record just inserted into the header table to stamp each...
January 14, 2011 at 8:45 am
Could you post your solution? If anyone finds this thread in the future, they will have a solution. Thanks and I'm happy to hear you found your answer
December 10, 2010 at 11:45 am
How about supplying table scripts and data?
December 10, 2010 at 9:50 am
I think it has to do with floats. Why are you using floats? If you change them to decimal(10,2), does it work?
December 1, 2010 at 11:31 am
How do you determine that these 2 are the same company?
December 1, 2010 at 11:28 am
is sybase installed on the machine? If so, check the path, it may be finding that bcp instead of the one from SQL Server.
October 25, 2010 at 2:13 pm
Your going to have to modify the OLEDB connection to use an expression. Then you can use variables. If you provide the code/package, it would be easier to...
October 25, 2010 at 2:00 pm
The user is also the owner of the schema. Change the owner of the schema, then you can drop the user.
ALTER AUTHORIZATION ON SCHEMA::[Testuser] TO [dbo]
GO
September 30, 2010 at 10:55 am
You can alias the tables for ease of use, but you need to use the correct aliases. For clarification, you should use the 3 part naming convention on all...
September 15, 2010 at 12:08 pm
Viewing 15 posts - 436 through 450 (of 670 total)