Forum Replies Created

Viewing 15 posts - 24,811 through 24,825 (of 26,490 total)

  • RE: Difference between UDF and View

    Properly used, UDF's good; improperly used, UDF's BAD.

    Comes down to an "It depends".

    I have a set of tvf that allow me to do As Of queries against our ODS database....

  • RE: Bachelors degree - Who has one, or even more education?

    Anders Pedersen (5/8/2008)


    Kind of the same as I hesitate when people with years of experience suddenly go and get one of the MS certifications. I mean. ...

  • RE: Set @variable with a value surrounded by single quotes

    Use this as a starting pointing:

    DECLARE @Query varchar(8000), @ColumnName varchar(50), @vho char(6)

    --SELECT @ColumnName = ChannelMapName

    --FROM myTable WHERE idNum = 1

    --SELECT @vho = vho_cd

    --FROM myTable WHERE idNum = 1

    set @ColumnName =...

  • RE: Data encryption sql sever 2005

    Do you know how the data was encrypted?

    😎

  • RE: Slow execution of query when using datetime variables

    Frank,

    That sort of helps, but doesn't. The output sample at the top of the post doesn't match the sample data at the bottom. I am a visual type...

  • RE: SQL Server 2005

    Not sure where you are looking in BOL, but my local copy matches the version at Microsoft, and it clearly discusses 5 system databases, including the Resource Database (mssqlsystemresource.mdf/mssqlsystemresource.ldf).

    Here is...

  • RE: How to change collation

    Sugesh Kumar (2/4/2008)


    you can't change collation at server level. but you can change the collation on particular columns. also changing collation on the database only makes the collation effective for...

  • RE: SQL Server 2005

    True, the Resource database is not listed in sys.databases; however, the documentation does refer to it as a special, read-only database that must be located in the same directory as...

  • RE: SET @@IDENTITY OFF ?????

    As far as I know, you can't turn it off.

    😎

  • RE: update value from the max date value

    Actually, I'm still waiting for more information since the four date fields are in four seperate tables. BDate is in TableB, CDate is in TableC, and DDate is in...

  • RE: Creating CURSOR

    NEI (Not Enough Information). Still don't know what you are trying to accomplish, plus the code I see just looks wrong from the get go. Plus, you have...

  • RE: Is T-Sql really that hard to learn?

    Rhetorical question on your part? A good answer would be this: T-SQL is SET based while the other languages you mention (even if OO) are procedural. Many...

  • RE: Creating CURSOR

    First, only partial code in your post, so not a real help. Second, why do you need to create a cursor dynamically? What are you try to accomplish?

    😎

  • RE: Slow execution of query when using datetime variables

    I'd also be interested in seeing enough of the tables DDL, some sample data, and expected results so I could understand the query as well. Looks like you have...

  • RE: update value from the max date value

    Marvin,

    No problem. I didn't even notice the error in the code itself. I just thought I'd help fix it to give the first of the month.

    😎

Viewing 15 posts - 24,811 through 24,825 (of 26,490 total)