Forum Replies Created

Viewing 15 posts - 121 through 135 (of 287 total)

  • RE: Creating dynamic SP(date changes)

    prasan.dash83 (9/25/2012)


    Hi Guys,

    I have an MIS system where I have to run 15 queries and update 15 sheets which takes a lot of time as I need to make changes...

  • RE: Cursor Help

    rocky_498 (9/19/2012)


    I have a question,

    Here is my query,

    SELECT SID FROM chartdDB

    WHERE ADate = @ADate

    AND SID NOT IN (SELECT SID FROM UPLOADRequest )

    when i run this query sometime...

  • RE: Bulk insert of large files (more then 450MB)

    adminorama (9/12/2012)


    Wandering around the web I found that OLE Automation could be a solution, so I want to share this

    I created a function that returns "0" if the file is...

  • RE: insert and update problem in stored proc

    Stewart "Arturius" Campbell (9/10/2012)


    Alternatively, in the OUTPUT Inserted.* into delkk

    ( Orderdatum, txtKortingBdr,Klantnummer, Tal) line, remove the " into delkk" statement, i.e. the OUTPUT statement should reflect OUTPUT Inserted.*

    That's what I...

  • RE: SQL server 2008 r2 expired? how reinstall?

    pastori (8/30/2012)


    Hello, and thanks for your reply!

    This SQL is in production use, so I can't use that developer version?

    Probably not the best of ideas to deploy an Evaluation Version of...

  • RE: format for phone number

    I guess if you absolutely must store a formatted phone number you could use a computed column.

  • RE: help with SQLCMD

    AppSup_dba (8/30/2012)


    Thanks for the info OTF... i will try this with OSQL...

    No worries.

    As I understand it, OSQL works fine in that regard in Sql Server 2008.

  • RE: help with SQLCMD

    Okay, I've just run a quick check and all the statements are actioned, however, only the first "rows affected" message seems to be returned.

    This behaviour had been reported as a...

  • RE: help with SQLCMD

    AppSup_dba (8/24/2012)


    Thanks for looking into this... I will try to make it make clear....

    Actual output:

    Starting the Transaction.

    Beginning to run the queries.

    (0 rows affected)

    Queries executed successfully.

    Transaction committed successfully.

    Expected output:

    Starting the Transaction.

    Beginning...

  • RE: help with SQLCMD

    AppSup_dba (8/24/2012)


    Hi ,

    I am trying to use SQLCMD to run a SQL Script. The script is of type.

    Begin tran

    Delete .....

    Insert .....

    Commit tran

    The output captured doesnt show the proper output. Only...

  • RE: need sloution for current date in a job

    Krissh_pallu (8/23/2012)


    thanks again...

    This Job has nearly 10 steps...

    In each step I am parsing the date to my stored prcoedure.

    Based on this date it will generate a report..

    ...

    I got your...

  • RE: how to use STRTDT token in a JOB

    Krissh_pallu (8/23/2012)


    If anybody knows about token in sqlserver ...Please provide me one smalll example for STRTDT token IN A JOB

    Thanks in Advance..

    USE [SandBox]

    GO

    SET ANSI_NULLS ON

    GO

    SET QUOTED_IDENTIFIER ON

    GO

    CREATE TABLE [dbo].[JobStartDate](

    [dte] [date]...

  • RE: select max

    YarHad (8/22/2012)


    Hi All,

    I have two tables as follows

    salary table with columns (salary_id, student_id, salary, from_date)

    student table with columns (student_id, firstname)

    I am trying to retun (s.student_id, firstname,...

  • RE: Differential backup

    MSzI (8/21/2012)


    Hi,

    Sure you can. Just try it!

    But first of all, you need to make a "FULL" backup, otherwise just a differential backup without a full base is useless.

    If I remember...

  • RE: comma in SQL

    Lynn Pettis (8/11/2012)


    CELKO (8/11/2012)


    CELKO talked aobut DDL of my post, but here I only ask the question about the extra comma

    A reflex on my part. I assume that...

Viewing 15 posts - 121 through 135 (of 287 total)