Forum Replies Created

Viewing 15 posts - 7,066 through 7,080 (of 8,761 total)

  • RE: How to replace character from middle of words ??

    Quick solution, allows for variable length input

    😎

    ;WITH SAMPLE_DATA(MOBILE) AS

    (SELECT * FROM

    (VALUES

    ('9334457582')

    ...

  • RE: which insert is faster? with identity_insert on or identity_insert off

    Here is my suggestion

    Leave the identity to the destination table, don't use the identity_insert. Consider dropping the non clustered indexes and recreate them after the load. In addition, an SSIS...

  • RE: DBCC CHECKDB

    elham_azizi_62 (9/15/2014)


    hi.

    how to reach output of checkDB?I post one of error wich was occured.

    Either re-run the command or check for SQLDUMPnnnn.txt file in the SQL Server Log directory.

    One error is...

  • RE: unable to create database with windows authentication login

    Another option if the sa login is not available is to run SSMS as Administrator and make the necessary changes.

    😎

  • RE: How to disable and enable the store procedure?

    WhiteLotus (9/15/2014)


    Eirikur Eiriksson (9/15/2014)


    WhiteLotus (9/14/2014)


    Hi All ,

    How to disable and enable the store procedure?

    cheers

    Quick question, by disabling it do you mean make it do nothing, make it disappear from the...

  • RE: How to disable and enable the store procedure?

    WhiteLotus (9/14/2014)


    Hi All ,

    How to disable and enable the store procedure?

    cheers

    Quick question, by disabling it do you mean make it do nothing, make it disappear from the user's view or...

  • RE: which insert is faster? with identity_insert on or identity_insert off

    karthik babu (9/14/2014)


    I got this basic question while inserting huge number of records from production table to the test environment. Please let me know.

    Thanks in advance.

    Quick questions:

    1. Is...

  • RE: Unexpected Increasing ram memory when using query in SQL 2014

    nam.lenhat (9/14/2014)


    Hello everyone,

    I am using SQL 2014, but having problem :

    When I use query in a table (having big data ..over one hundred million rows). I just query about...

  • RE: Dates in intervals of x days

    Here is a quick example using a Tally/Numbers CTE

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON

    /* Generate a set of dates at a given interval

    from the start date untill the end...

  • RE: change data capture issue

    charipg (9/14/2014)


    A. the user have enough/right permissions for the SSIS execution

    B. No result , i mean no dbs showing as cdc enabled.

    actually i checked your ...

  • RE: XML Shredding / parsing

    Quick thought, do you have an example of the XML, depending on the complexity and structure one might find something that fits the purpose.

    😎

  • RE: Msg 7391, Level 16, State 2, Line 1

    You will find instructions here

    😎

  • RE: Substring

    girl_bj (9/14/2014)


    May I know what does the 7 means?

    SUBSTRING(SD.ColumnA,1,CHARINDEX(' ',SD.ColumnA,7) -1 ) AS FIXED_PART

    It tells the charindex where to start searching for the character.

    😎

    Hotel A146 10/25/2014 hotel...

    123456789012345678901234567890

    ...

  • RE: change data capture issue

    First, apologies for the piecemeal like answers:-)

    From the top of my head, most likely causes:

    A. Insufficient permissions for the SSIS execution user account, the "user" doesn't have enough/right permissions.

    B. CDC...

  • RE: delete row with unique identifier

    Quick thought, when you pass the uniqueidentifier value to the procedure, you will have to pass it as a string, here is an example:

    😎

    USE tempdb;

    GO

    SET NOCOUNT ON

    IF OBJECT_ID('dbo.SAMPLE_UNIQEID') IS NULL

    BEGIN

    CREATE...

Viewing 15 posts - 7,066 through 7,080 (of 8,761 total)