Forum Replies Created

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

  • RE: sqlcmd' is not recognized as an internal or external command

    John Mitchell-245523 (6/30/2016)


    Please post your amended script. What happens if you run the command from a command line instead of within the batch file? Obviously you'll need to...

  • RE: GETUTCDATE() return null

    Jeff Moden (12/18/2013)


    I take that back... that's actually an illegal form of update that will sometimes work and sometimes not. I'll explain more after I see the rest of...

  • RE: include the outptut of storedprocedure in select

    Sean Lange (6/20/2013)


    ali.m.habib (6/20/2013)


    Sean Lange (6/20/2013)


    ali.m.habib (6/20/2013)


    I have stored prcuder like

    create proc calcaulateavaerage

    @studentid int

    as

    begin

    -- some complecated business and query

    return @result -- single decimale value value

    end

    and then I...

  • RE: include the outptut of storedprocedure in select

    Sean Lange (6/20/2013)


    ali.m.habib (6/20/2013)


    I have stored prcuder like

    create proc calcaulateavaerage

    @studentid int

    as

    begin

    -- some complecated business and query

    return @result -- single decimale value value

    end

    and then I want to

    create...

  • RE: cannot access my local sql server

    it was stopped and when running it it raise error and by have look on the system log I found

    event id :7024

    The SQL Server (MSSQLSERVER) service terminated with service-specific...

  • RE: Query run on sql server 2000 faster than on 2005

    Yes I did but the same eror appear, is this a problem in collation and if yes how to get the windows collation and sql server collation

    Jack Corbett (11/16/2009)


    Have you...

  • RE: how to do that

    Dave Ballantyne (8/25/2009)


    Hold on , why have you used binary datatypes?

    it's a security issue , and I am not the resposable of the design

  • RE: how to do that

    Dave Ballantyne (8/25/2009)


    Create a unique index on the column , and stop the issue happening in the first place

    how to update the old data such that no repeated time appear

  • RE: Server: Msg 16947

    kevriley (8/19/2009)


    the error simply is complaining that the positioned update failed to update a row

    However I'm sure this cursor can be better written - can you post table definition for...

  • RE: Server: Msg 16947

    kevriley (8/19/2009)


    the error simply is complaining that the positioned update failed to update a row

    However I'm sure this cursor can be better written - can you post table definition for...

  • RE: Select Case

    you can't use the case like that in where clause

    try this

    CREATE PROCEDURE [dbo].[usp_faculty_letters_by_course_type] --usp_faculty_letters_by_course_type 'jumpstart'

    @course_type varchar(50)

    AS

    BEGIN

    SET NOCOUNT ON;

    SELECT DISTINCT left(lastName, 1) as firstInitial, GRI, JUMPSTART, REMASTERS

    INTO #tempFirstInitial...

  • RE: Linked server problem

    Lowell (7/28/2009)


    show us your function call;

    here's an example of using a linked server to get a function call back, does this help?

    exec ServerName.master.dbo.sp_executesql N'Select SERVERPROPERTY(''MachineName'')'

    select [LINKEDSERVER1].DB.dbo.T_DATE('D')

    this run the function named...

  • RE: write to text file using sql

    Jeff Moden (7/8/2009)


    ali.m.habib (7/8/2009)


    Jeff Moden (7/7/2009)


    I've never experienced BCP being slow at anything. Usually, it's the associated query that's slow. Please post both the BCP command and the...

  • RE: write to text file using sql

    Jeff Moden (7/7/2009)


    I've never experienced BCP being slow at anything. Usually, it's the associated query that's slow. Please post both the BCP command and the query being executed...

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