Forum Replies Created

Viewing 15 posts - 196 through 210 (of 214 total)

  • RE: values from table for use in procedure

    Thanks! this helps a lot.

  • RE: Dynamic Query/sproc

    Yes, working on it. I got side tracked and got pulled away on a critical project. I will follow up in a week. Thanks for your help.

  • RE: group by date (week)

    I just tried something, would this do what i am looking for?

    Select top 1000 RCPTDT, PACK_ITEM, max(UPC), min(UPC), Max(LEGACY_WH), SUM(CASESSHPD), MAX(PACK_SIZE), MIN(PACK_SIZE), MAX(UNIT_COST), MAX(ITMDESC), MIN(ITMDESC)

    From pmk_cands_shipments_2008

    GROUP BY PACK_ITEM,...

  • RE: Dynamic Query/sproc

    I don't know how many fields it will be but I expect it to be less than 30.

  • RE: Dynamic Query/sproc

    The Dynamic part is for the creation of the fields. It starts out with the 1 column with the string of names (comma delimited).

  • RE: Error in TSQL code

    I fixed the issue. See the code fixed below:

    Insert Into dbo.CMS_NewVnd_Master(

    [Site_NBR], [AuditCode], [AuditDesc], [PRGIndustryDesc],

    [PRGSubIndustryDesc], [CorpClientDesc], [AuditStatus], [Client_Nbr],

    [AuditYearDesc], [VendorCode], [VendorDesc], New_Vnd, New_Name,

    GroupVendor, GroupType)

    Select CL2006.[Site_NBR], CL2006.[AuditCode],...

  • RE: Half a Million

    It's very simple... SQL servercentral is free and has many good resources without the annoying popups or distractions that turn people off like heavy advertisements. It is easy to...

  • RE: Creating a PDF from a Stored Procedure

    The stored procedure is not available.... Does anyone have the sproc?

  • RE: No DBAs allowed access to Production DB Servers...

    I think you just missed the whole point!

    Sox is not the problem here, but the lack of understanding of what sox requires of us.  People are always with their...

  • RE: DTS Package fails when scheduled but runs when manually run

    If you are running a dts that involves more than 1 machine, is  AMERICA\SVCSQL and admin on all machines? 

  • RE: No DBAs allowed access to Production DB Servers...

      That's usually the case, where somoene takes your tools to be able to do your job away then they figure out that they made you handicapped.  But that is...

  • RE: No DBAs allowed access to Production DB Servers...

    Bombard them with requests and then you'll see how fast they'll change it and give you rights again.

  • RE: Merging data from Database2 into Database1

    I haven't tested this, but does this make sense?

    1 - Do a Select with a left join from db1.table1 to db1.table2 (selecting all fields except the identity field INTO a...

  • RE: BriefCase Scripts export

    Thank you for trying to answer my question, but maybe I was not clear enough.  When I said "export from my Briefcase", I meant from the briefcase on the sqlservercentral...

  • RE: Disk config

    sounds like you'll end up going with the 1 hard drive for OS and the other 4 for your RAID5 db's and logs on same drive.

Viewing 15 posts - 196 through 210 (of 214 total)