Forum Replies Created

Viewing 15 posts - 421 through 435 (of 628 total)

  • RE: Simple query for the Months of a year

    The following script will provide you with a list months.

    declare @dtlist table

    (dt datetime)

    declare @x int

    set @x = 0

    while @x < 12

    begin

    insert into @dtlist select dateadd(mm,@x,'01/01/10')

    set @x=@x+1

    end

    select datename(month,dt) from @dtlist

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Google FUD

    The Ford reference reminded me of this old e-mail chain.

    If Microsoft Built Cars

    Every time they repainted the lines on the road, you'd have to buy a new car.

    Occasionally your car...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Query tunning

    I think that would largely depend on the parameters the report may use. Just to state the obvious if the report sometimes runs for 20 sec and is being...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: SQLNCLI error using linked servers

    I needed to do something similiar and based on my research you can not access information_schema context in a linked server. every forum I visited ended in the same...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: link server having two different database and also different login

    Have you already setup the linked Server in the primary server?

    That is on Server AA did you go into SSMS and add a linked server under Server objects? If...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: SQL Server has encountered 86008 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file.

    The following is a Link to article with a pretty good description as to how and why this error can occur. there are also many other various blogs and...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Vague "custom code" error in SSRS 2008

    If you converted these using some auto process it is possible some extra code was added.

    Try selecting report properties in the menu. then select report properties. in the...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: how to: generate the layout of some tables using visio 2007 professional?

    If another company is asking for a table layout that it is likely they not only want to know what the fields are in the table but what the table...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: how to: generate the layout of some tables using visio 2007 professional?

    I apologize if there is a question there I am not getting it. Is the result of the reverse egineer wizard not what you expected? If that is the...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: how to: generate the layout of some tables using visio 2007 professional?

    Start a new Database Model Diagram in Visio. Then from the database menu select Reverse Engineer.

    A wizard will lauch and you can follow the steps.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Help with a query....

    Chris the link to the help page is very useful thank you for the reference.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Help with a query....

    Lowell, You clarify for me again why I love the DBA community. Thank you for going above and beyond with your script examples. I think I am...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Export data to a file

    what version of Excel do you use? If you use anything less then 2007 then you can not export that many rows. also what version of SQL do...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Help with a query....

    I am going to ask a dumb question here but I am just trying to understand it. What are the elements in this that make it find mondays date.

    select...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: join rows on table1.date between table2.dates

    I apologize from the description I am a little confused on what your are expecting to be returned. Can you clarify with an example what you are expecting to...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

Viewing 15 posts - 421 through 435 (of 628 total)