Forum Replies Created

Viewing 15 posts - 4,801 through 4,815 (of 4,820 total)

  • RE: can we use integer value Encrypt/Decrypt with Symmetric key.

    Have you considered converting the integer to a fixed-length character string, using CAST or CONVERT, prior to encryption?

    Steve

    (aka smunson)

    :):):)

  • RE: NthMostfrequent function

    If you can create a result set that for each item, also has the quantity or frequency of that item, and if you can use SQL 2005, you can then...

  • RE: Product Product Options

    Now I see where you're at. It wasn't obvious to me from looking at your T-SQL that the potential for a heirarchical relationship beyond option and product beyond...

  • RE: how to select values having spaces

    Try using LIKE, perhaps as follows:

    SELECT DATA_VALUE

    FROM MY_TABLE

    WHERE DATA_VALUE LIKE '% %'

    Note there is a single space between the two percent signs.

    Steve

    (aka smunson)

    :):):)

    want_to_know (6/3/2008)


    HI

    I have values like this:

    10003 ...

  • RE: Fact Table Question

    How about using SQL Server 2005's UNPIVOT operator? See if something like the following might help:

    SELECT [Date] AS DateKey, Customer AS CustomerKey,

    Location AS LocationKey,...

  • RE: How to identify the missing id's in a table..

    Take a look at the following code that can demonstrate a technique that uses an auxiliary table of numbers:

    -- START WITH A TABLE OF THE NUMBERS FROM 1 to 200

    SET...

  • RE: Product Product Options

    I'm glad you were able to figure it out. I was having trouble understanding why you needed a not equal relationship, as I would have thought that any...

  • RE: Add Parameter to enable user to input value GETDATE + 'Parameter' value

    Leave the parameter as an integer, and change the query to check for:

    QExpiry.FieldName <= DATEADD(d, @DateOffset, GETDATE())

    You should be able to have this work in both locations.

    Steve

    (aka smunson)

    :):):)

  • RE: FREETEXTTABLE multiple words query

    Here's the help on the "freetext string" that goes into the FREETEXT function, which explains about quoted strings:

    freetext_string

    Is text to search for in the column_name. Any text, including words,...

  • RE: Product Product Options

    I need to know more about how you plan to keep track of what options have been selected. Are you updating any permnanent table with this information? ...

  • RE: SSIS SCD converting data on the insert

    I saw similar things happen with Excel imports in SQL Server 2000, where if the data in the first several rows LOOKED like a particular data type, a row far...

  • RE: Called Microsoft

    Hmmm... it appears I'm way behind on information on memory capacity and the ability to get past the 4 GB addressing limit of 32 bits. Can anyone...

  • RE: BCP a table to a new temp table

    I'm not familiar with the term BCP, but given that temporary tables are generally attached to the session that creates them, I'm thinking we need to know more about why...

  • RE: Shifting columns

    Yes, Jeff... you're quite right. Being a newbie to both SQL Server 2005 (although an oldie to SQL Server 2000) as well as this forum, my excitement...

  • RE: Called Microsoft

    Umm... I may not be recalling this correctly, but I haven't seen anyone ask what Server OpSys is in use, and I did see the indication that SQL Server is...

Viewing 15 posts - 4,801 through 4,815 (of 4,820 total)