Forum Replies Created

Viewing 15 posts - 12,076 through 12,090 (of 13,461 total)

  • RE: HOw to change folder name through sql command

    i think this is just a result of spaces in the path/filename, right?

    changing this part should work i think:

    SET @folder = 'C:\Inetpub\wwwroot\Pergamum\Doc\International Banking\Caribbean'

    SET @path =SUBSTRING(@folder ,...

  • RE: Calling a Stored Procedure from a View

    sounds like you want the results of sp_who in a view for example?

    simply sp_helptext sp_XXX, and read the code....maybe you can simply lift the code, or maybe you can convert...

  • RE: Load the data from excelsheet into a table in sqlserver 2000

    you could also attach the spreadsheet as a linked server, and then select from it as well;

    here's an example, which adds the linked server "MySpreadSheet", just change the path and...

  • RE: Using a temporary table

    it sounds like you are doing everything right...

    here's a basic example of a select into:

    select top 5 * into #Table1 from sysobjects

    Select * from [#Table1]

    that works fine on my...

  • RE: Parsing T-SQL

    doc_sewell (7/10/2008)


    The problem is that our application needs to evaluate strings before they are submitted for processing. and these strings may contain variables, e.g.,

    " select *from t where id...

  • RE: Return Error 2147217873

    I'm pretty sure that error 2147217873 is a foreign key violation;

    ie

    Error Code : -2147217873

    INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_ForeignKeyName'. The conflict occurred in database 'DatabaseName',...

  • RE: Find last access

    As you already suspected, In SQL2000, there's not much you can do.

    If all your databases have the database recovery model set to "FULL" instead of "SIMPLE", you could use a...

  • RE: T-SQL Equivalent to MS Access'' "First" function

    Stephen is kind of right, as long as you ignore some stuff.

    unless you've added a primary key to the table, because Access is file based, Access really does keep the...

  • RE: truncate value in a table

    from Query analyzer or SQL 2005 Management Studio:

    exec AddSystemEvent 12,'06/09/2008',-21,'Some Bad Event Occured that probably should not have.'

    note the scanner id example i put in an arbitrary number of 12,...

  • RE: truncate value in a table

    maybe i'm just misreading it, but you want to insert just 255 chars right?

    CREATE PROCEDURE [dbo].[AddSystemEvent]

    (

    @ScannerID As Int,

    @TimeDate DateTime,

    @EventID As Int,

    @EventDesc NVarchar(256)

    )

    AS

    Begin

    Insert Into tb_system_event

    (Scanner_ID, Time_Date, Event_ID, Event_Description)

    Values (@ScannerID, @TimeDate,...

  • RE: Installing SQL Server on windows xp sp 2

    sazzemokhalef (6/9/2008)


    HI Guys

    installing SQL server enterprise edition on Windows XP is possible!

    I'm sure! I will put the solution in a few days!

    installing Enterprise Edition of SQL Server on a non-Server...

  • RE: Convert RTF data

    I just used the package and deployment wizard on a vb6 project that only had a richtext object on it;

    this is a list of all the dll's the wizard selected...

  • RE: REMOTE CONNECTIVITY TO SQL EXPRESS

    i think alimcitp has nailed it; your connectionstring doesn't have a username/password or integrated security:

    you need to know your machine name; the constring you had was clearly incorrect.

    it's machinename\instnacename,port

    so if...

  • RE: Ledger Balance Calculation

    When I perform an Insert into the Transaction table I update the Ledger. For the most part this is a simple case of inserting the required data, the issue comes...

  • RE: REMOTE CONNECTIVITY TO SQL EXPRESS

    additionally, if you are running any operating system with windows firewall, you will need to add an exception for sql server...you have to browse to sqlserver.exe for each service you...

Viewing 15 posts - 12,076 through 12,090 (of 13,461 total)