Forum Replies Created

Viewing 15 posts - 7,591 through 7,605 (of 9,643 total)

  • RE: Cannot create assembly referencing system.core v3.5.0.0

    I had thought that in SQL Server 2005 the CLR was only .NET 2.0 compliant so that 3.5 assemblies will not work, thus no Linq availability. I could be...

  • RE: Totaling column values

    There are several ways to do this in SQL and depend on if you are using a stored procedure or ad-hoc SQL. In a stored procedure I think the...

  • RE: Linked Server Connection Problem

    Gad Friedman (9/8/2008)


    I am using unc path

    \\ppserver\c$\cn_pp\pp2000\data

    the cn_pp is set as the shared folder.

    again it will work only from the sql server but not from other workstations.

    I notice you...

  • RE: DUMP all DML in a single procedure

    If you put all your actions in one procedure with if statements you also eliminate the benefit of having a cached execution plan.

  • RE: PIE Chart formating

    Can you post some source data so I can run the query myself and create a report to see how it works?

  • RE: Importing latest file in folder with SSIS

    I'd create an archive folder and then use a foreach loop using the for each file enumerator. Process the file and then move it to the archive folder using...

  • RE: Input param not being substituted

    How'd you map the variable to the parameter? Please post exactly.

  • RE: Backup Script

    Here you go:

    Set @filedate = Replace(Convert(varchar(10), getdate(), 101), '/', '') +

    Replace(Convert(varchar(6), getdate(), 114), ':', '')

    The first convert gets MMDDYYYY and the second gets HHMM

  • RE: flat file to sql table

    Okay the premise remains the same, you'll just need to parse the file nam eto get the extension to use the right data flow task.

  • RE: Linked Server Connection Problem

    Did you use "drive:\folder" in the linked server? If you did you probably want to share the folder and use a UNC path (\\server\share).

  • RE: flat file to sql table

    Do you have a known number of file extensions or is it random? Are the files all in the same folder?

    Here's one way if there is a known number...

  • RE: DBCC CheckDB

    I'm just grasping at straws. Odds are the only solution is to run DBCC CHECKTABLE() with REPAIR_ALLOW_DATA_LOSS or restoring from a good backup. It just seems odd to...

  • RE: DBCC CheckDB

    How about running an update against that column setting the value correctly. I know it's okay now, but running the update can't hurt.

  • RE: DBCC CheckDB

    You need the indid in the query as well.

    I would still restore a backup to a test server and drop and recreate the clustered index to see if that cleans...

  • RE: DBCC CheckDB

    What do you get when you run:

    Select * from sysindexes where object_id = Object_Id("table name")

Viewing 15 posts - 7,591 through 7,605 (of 9,643 total)