Forum Replies Created

Viewing 15 posts - 7,921 through 7,935 (of 9,641 total)

  • RE: Can not connect to SQL Server 2005

    What is the error message you are getting when you try to connect? Are you running SSMS on the SQL Server or remotely?

  • RE: how do i trap a syntax error at runtime?

    I don't think that there is a way to do this pre-2005.

  • RE: page file problem

    BY default SQL Server install sets the MAX Memory option to 2 GB. My laptop has 1.25 GB RAM and SQL Server is set to max at 2 GB....

  • RE: SQL Query

    I think this is the code you are looking for:

    [font="Courier New"]/*

    Added IsNull because concatenating to a NULL yields NULL.  

    Added ELSE to CASE statements so you keep the same value

    Added Checks...

  • RE: Issues creating User Role SQL 2000

    If you are really using SQL Server 2000 then you should get a syntax error because Create Role was added in 2005. I think in 2000 it was sp_addrole,...

  • RE: Any SQL gurus / n00bs that are closet musicians?

    Schadenfreude-Mei (8/14/2008)


    I used to play guitar, electric, accoustic, spanish and even bass. Had a Honer Headless (are you impressed Jack?).

    Would be if I really KNEW anything beyond put left...

  • RE: Index question

    Yes you can. It is the same syntax as for permanent tables. Remember a temporary table is really a permanent table in tempdb that is hooked to a...

  • RE: SQL Query

    You would need a CASE as IF is a control of flow construct and CASE is an Expression.

    Have you considered using a computed column as I suggested? I really...

  • RE: Update statement causing an error.

    This is a common problem people have. Here are some options:

    [font="Courier New"]UPDATE paridtest

       SET parcel_id = parcel_id+CASE

                                       WHEN b.dir = 'North' AND LEN(RTRIM(LTRIM(STR(sect)))) = 1 THEN a.parcel_id+'00'+LTRIM(RTRIM(STR(a.sect +...

  • RE: Trigger to fire after multiple update statements

    I would create a permanent table with a processed flag and insert salary changes to it from the trigger. Then have a job that runs every n minutes that...

  • RE: SQL Server 2005 not using all CPU in multiprocessor (peak on 1 cpu alternatively)

    I would venture to say that this means the import process is not CPU bound but IO or MEMORY bound.

  • RE: maintainace plan tool

    Are you sure you have the necessary permissions to create a maintenance plan?

  • RE: xls to sql

    Are the files always put in the same location? If so you can use a foreach loop container that loops over .xls files in a the location. Processes...

  • RE: getdate column ssis

    Yes it is SSIS. SSIS does row by row processing so if you take 20 seconds to insert a 1000 records your date will vary. If you want...

  • RE: select query

    The most common way I have seen recommended for this is to use dynamic SQL. Any other options depend on the behavior you want and the data you have....

Viewing 15 posts - 7,921 through 7,935 (of 9,641 total)