Viewing 15 posts - 6,346 through 6,360 (of 8,416 total)
CooLDBA (1/13/2010)
I end up created a function instead.
Did you? Would you care to share it?
January 13, 2010 at 5:52 pm
tew (1/13/2010)
Thank you for the response Paul. However, results from sys.sysobjects aren't as one would hope.
Well it was always undocumented, so I suppose I shouldn't be surprised that it has...
January 13, 2010 at 5:48 pm
forum member (1/13/2010)
My table structure are very big with large quantinty of data so couldn't make a post.
There is an error in your code.
Without seeing what you can see (even...
January 13, 2010 at 3:15 am
Jeff Moden (1/13/2010)
January 13, 2010 at 3:10 am
ifila (1/12/2010)
I did get a couple of suggestions.
I bet you did :laugh:
January 13, 2010 at 12:33 am
The columns base_schema_ver and schema_ver in sysobjects change when an object is marked for recompilation.
Compare the values before and after you run your process.
January 13, 2010 at 12:09 am
CirquedeSQLeil (1/12/2010)
If Paul's Script does not work for you, please post sample data and table structures so we can better match the problem with an answer.
Quite so. In so...
January 13, 2010 at 12:00 am
Jeff Moden (1/12/2010)
Check again... op asked for mm/dd/yyyy hh:mm. Above code returns yyyy-mm-dd hh:mi 😉
Assuming you don't mind using the Microsoft version of the Kuwaiti algorithm of the Islamic...
January 12, 2010 at 11:58 pm
January 12, 2010 at 11:44 pm
Seems to work fine for me:
DECLARE @Table1
TABLE
(
idno INT NULL,
id1...
January 12, 2010 at 11:35 pm
george sibbald (1/12/2010)
This blog would suggest qoutes have the potential to be misinterpreted and lead to errors:http://msmvps.com/blogs/robfarley/archive/2009/12/29/apostrophes-around-column-aliases.aspx
Very nice link. I've never used single quotes in this way myself (just...
January 12, 2010 at 5:07 pm
EAV - please Lord no!!! :laugh:
Have a look at 2008's Sparse Columns:
http://blogs.msdn.com/sreekarm/archive/2009/01/08/sparse-columns-in-sql-server-2008.aspx
http://technet.microsoft.com/en-us/library/cc280604.aspx
Efficient, built-in, and play nicely with XML. Awesome.
Paul
January 12, 2010 at 5:04 pm
Lynn Pettis (1/12/2010)
January 12, 2010 at 4:58 pm
Something else to bear in mind about the OPENROWSET method:
Books Online
January 12, 2010 at 4:53 pm
See Delimited Identifiers (Database Engine) for full details. Square brackets always work, double quotes depend on the setting of the session's QUOTED_IDENTIFIER set option.
Personally, I prefer square brackets where...
January 12, 2010 at 4:50 pm
Viewing 15 posts - 6,346 through 6,360 (of 8,416 total)