Forum Replies Created

Viewing 15 posts - 1 through 15 (of 25 total)

  • RE: passing connectionstring variable in connectionmanager

    [font="Verdana"]Hi,

    Have you checked the Expressions Editor of your DataFlow Task, which has got the Source and Destination Transformation. Basically all the properties are listed in the...

  • RE: Finding the week of the month in sql server 2000

    [font="Verdana"]

    SELECT DATEPART(WK, GETDATE())

    - DATEPART(WK, DATEADD(DAY, - CAST(DATENAME(DAY,GETDATE()) AS INT), GETDATE())) AS WEEK_OF_THIS_MONTH

    [/font]

    [font="Verdana"]Hi,

    The query which I gave...

  • RE: length of string field in access database

    Hi,

    In your select statement, you just made a trim to the columns which you are getting, and not performing the DataType operation. Hence, the DataType...

  • RE: date format yyyyMMddhhmmss

    HI,

    Try this..

    SELECT CONVERT(VARCHAR(19), GETDATE(), 120) DATE

    ,REPLACE(REPLACE(REPLACE(CAST(CONVERT(VARCHAR(19), GETDATE(), 120) AS VARCHAR(20)),'-',''),':',''),' ','') FORMATDATE

    Regards,

    Ashok S

  • RE: Peformance problem

    [font="Verdana"]Hi David,

    What you told is correct, I agree on it. NOLOCK will return the data faster, but it will fetch the data which haven't commited...

  • RE: Finding the week of the month in sql server 2000

    [font="Verdana"]Hi Naveen,

    This is one more solution to your query...

    SELECT DATEPART(WK, GETDATE())

    - DATEPART(WK, DATEADD(DAY, - CAST(DATENAME(DAY,GETDATE()) AS INT), GETDATE())) AS WEEK_OF_THIS_MONTH

    ...

  • RE: how to break phone and exension data

    Hi Ali,

    Hope this may help you.

    DECLARE @VARIABLE AS VARCHAR(50)

    SET @VARIABLE = UPPER('(901) 123-3990 ext. 1209')

    --SET @VARIABLE...

  • RE: Peformance problem

    Have you tried with NOLOCK option? It may be bit faster than the usual one.

    Regards,

    Ashok S

  • RE: Regarding Level and its Description

    Thanks GSquared,

    Exactly thats what I'm looking for :-).

    And Steve, I suggest you to have...

  • RE: LOGIN Error no 18452

    Hi,

    Really hard to identify your problem yaar. I'm sorry, I guess I can't help you :ermm:.

    Regards,

    Ashok S

  • RE: SQL Query

    Hi,

    It will be more understandable if you post your query with sample data. Its ok, from your query I understand that you want to display all...

  • RE: LOGIN Error no 18452

    Hi Namish,

    Are you sure that your SQL Server has a user called "'rutikas"?

    Does your SQL Server allows Windows Authentication?

    ...

  • RE: String Max Length

    An error is appear

    I found the max length of the @ssql is 4000.

    Hi,

    The issue is, eventhough you have set the @ssql variable as varchar(8000), it...

  • RE: Getting all the result from the column with SUM function

    Hi,

    Try this, It will give you the result you are looking for.

    CREATE TABLE #Test(

    ItemNumber char(12),

    NumCount Int,

    Catagory VARCHAR(20)

    )

    INSERT INTO #Test VALUES ('1', 2,...

  • RE: cannot connect to my sql server

    Hi,

    Ok, The issue is with your Server. Check whether the Named Connections are Enabled or not in the Server. If not Enable it and...

Viewing 15 posts - 1 through 15 (of 25 total)