Viewing 15 posts - 7,411 through 7,425 (of 14,953 total)
If you import the text of the XSD definition into a table, you could then use that to dynamically build a "Create XML Schema Collection" command. Look up the...
December 16, 2009 at 10:08 am
What that means is you have SSMS 2008, but you're connecting to SQL 2005. The difference is the management software vs the server software.
December 16, 2009 at 10:03 am
Very specifically, text, ntext, and image data types in the inserted and deleted tables in triggers don't work. Books Online and MSDN document this behavior.
The way to get around...
December 16, 2009 at 10:01 am
Sounds to me like you somehow installed SQL 2005. What do you get if you select @@Version?
December 16, 2009 at 9:46 am
Navigate the tree view in the Object Explorer to the proc you want to look at, right-click it, and select Modify.
December 16, 2009 at 9:43 am
Not sure what's not working for you.
I just tried this, and it worked:
create proc dbo.XMLTest
as
set nocount on;
select *
from dbo.Numbers
for XML raw, type;
go
create table #T (
ID int identity primary key,
XMLVal XML);
insert...
December 16, 2009 at 9:41 am
Have you tried OpenRowset, using the Single_CLOB option?
December 16, 2009 at 9:37 am
I'm going to hazard a guess that it's a coincidence.
Or did you have to do anything to the master database?
December 16, 2009 at 9:36 am
The Dixie Flatline (12/16/2009)
I have a question about penance, Grant:Can I repent if I'm not certain I have ever pented in the first place?
Of course you...
December 16, 2009 at 9:33 am
That data can probably be retreived from the transaction log.
ApexSQL (www.apexsql.com) has a log reader product called Apex SQL Log. You can get a free trial of it.
December 16, 2009 at 9:30 am
I have to ask: Why not use the XML data type? Why varchar for XML data?
December 16, 2009 at 9:28 am
Here's how you'd do it in T-SQL:
declare @Date datetime;
select @Date = getdate();
select dateadd(week, datediff(week, '12/31/1999', @Date)-1, '12/31/1999');
I picked 31 Dec '99 because that was a Friday. So it finds...
December 16, 2009 at 8:27 am
I'd say the main KPI of a DBA is how much the data in the database(s) is used. It's all about the service provided (value) to the company.
Uptime would...
December 15, 2009 at 12:46 pm
Plenty of ways to manage that in a child table.
One option (pretty much the default) would be to delete the ones that were unchecked, and leave the rest of the...
December 15, 2009 at 11:41 am
Viewing 15 posts - 7,411 through 7,425 (of 14,953 total)