Forum Replies Created

Viewing 15 posts - 1,111 through 1,125 (of 1,241 total)

  • RE: about storing sql script in a table?

    Certainly. Code repository systems work on this concept.

    ----------------------------------------------------

  • RE: Fact/Dimension design suggestions

    there is a record for every application and what term they are starting in, among other things

    I wouldn't be surprised if the OP has something similar looking in the relational...

    ----------------------------------------------------

  • RE: SSIS doesn't import TXT file

    I don't believe the forum users in general like the idea of clicking on obscure links.

    ----------------------------------------------------

  • RE: How To Validate in Procedure

    Might incorporating this work?

    select case when isnumeric(left(DCPI_Date,4))=1

    then DCPI_Date

    else '19000101'

    END

    when doing your insert into dbo.Reliance_Master

    Then later in your SSIS redirect those rows that have 1900-01-01 as the date to...

    ----------------------------------------------------

  • RE: sql trigger problem

    I'm sure this is not the case, but thought I should mention: make certain the ID column in your audit table is not a identity column.

    ----------------------------------------------------

  • RE: Linked server

    Even if it does cause potentially more network traffic as a result of normal usage, that is the point of creating the connection from server A to B was to...

    ----------------------------------------------------

  • RE: Query to retrieve a column depending on variable value?

    If a sixth column/price gets added or a new product in the family, with 'price 5' rather than 'price5' you will miss data, have to keep maintaining the query. That...

    ----------------------------------------------------

  • RE: Getting an error "Exception of type 'System.OutOfMemoryException' was thrown." during stored procedure execution

    I had seen this error when I was processing tons of records on a virtual machine. My solution was breaking the query down into batches. That is, using a loop...

    ----------------------------------------------------

  • RE: SQL Server 2012 VLDB Data Warehouse Design Question

    File groups could help if you do frequent data backups on this VLDB where you can back up each devise simultaneously. I don't read that you need to do this.

    ----------------------------------------------------

  • RE: Data Type Conversion of Excel Source

    Is there a way except advanced editor to change the data type of all columns of excel source in one shot instead of doing for every columns one by one...

    ----------------------------------------------------

  • RE: Need to add % sign for only few rows

    If you are calculating the average value and then showing in the report, just use the FormatPercent function in the expression.

    --Divya

    This is fine if the value is still a ratio,...

    ----------------------------------------------------

  • RE: Problem with CAST to VARCHAR with SUBSTRING Function

    SELECT

    CASE WHEN LEFT(Customer.StartDate, 2) = '98' THEN substring(convert(varchar(20),Customer.StartDate), 3, 2)

    ...

    ----------------------------------------------------

  • RE: First Stored Procedure

    When you use 'like' you are opening the door to multiple rows being fetched. Why could you not pass the exact table name? Your issue may be more upstream.

    ----------------------------------------------------

  • RE: How to load Date columns in consistent manner

    You can import the data as a string and in the dataflow manipulate the string in a derived column transformation to put it into yyyymmdd format, and append that to...

    ----------------------------------------------------

  • RE: Changed SQL Services Acct - "Cannot Generate SSPI Context"

    The user account used for SQL Services has to have local admin privileges and the Log on as a Service right.

    ----------------------------------------------------

Viewing 15 posts - 1,111 through 1,125 (of 1,241 total)