Forum Replies Created

Viewing 15 posts - 7,411 through 7,425 (of 14,953 total)

  • RE: XML import SQL Server 2005 Express

    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...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: SQL Server 2008 compatibility level 100

    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.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Instead of trigger on the table with image column

    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...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: SQL Server 2008 compatibility level 100

    Sounds to me like you somehow installed SQL 2005. What do you get if you select @@Version?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Enterprise Manager substitute for SQL 2005+

    Navigate the tree view in the Object Explorer to the proc you want to look at, right-click it, and select Modify.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Capturing XML output from a Stored Procedure

    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...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: XML import SQL Server 2005 Express

    Have you tried OpenRowset, using the Single_CLOB option?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: DBCC CHECKDB changed login permissions

    I'm going to hazard a guess that it's a coincidence.

    Or did you have to do anything to the master database?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Are the posted questions getting worse?

    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...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Need name of the person who deleted data from DB

    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.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Varchar(max)

    I have to ask: Why not use the XML data type? Why varchar for XML data?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: Retrieving Last friday from variable date in an expression

    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...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: To Parent/Child or Not To Parent/Child

    You're welcome.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: How can i KPI a DBA - bonus related.....?

    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...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • RE: To Parent/Child or Not To Parent/Child

    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...

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 15 posts - 7,411 through 7,425 (of 14,953 total)