Forum Replies Created

Viewing 15 posts - 976 through 990 (of 2,038 total)

  • RE: Paging Problem SQL 2005 using row_number and order by

    Hi

    Seems that the JobCount column is not yet available for the ROW_NUMBER order within the SELECT clause.What about a second CTE?

    DECLARE @Company TABLE (CompanyId INT, CompanyName VARCHAR(30))

    DECLARE @Job TABLE (JobId...

  • RE: sys.Syscomments not showing all the rows

    Hi

    syscomments is only available for backward compatibility. Try sys.sql_modules instead:

    SELECT

    OBJECT_NAME(object_id),

    *

    FROM sys.sql_modules

    Greets

    Flo

  • RE: API Cursor Parameters

    Hi Roy

    Those procedures are usually not used directly from your code. They are called by your developers connection layer (OLEDB/ODBC/ADO). These are server side cursors. The server side cursors do...

  • RE: In operand

    Hi

    Two possibilities:

    1.) Create a dynamic SQL statement and execute it.

    2.) Use a on-demand split and join the data instead of using an IN statement.

    Greets

    Flo

  • RE: Are the posted questions getting worse?

    I tried Vista x64 on my new PC (no laptop) but the performance was awful.

    Luckily my company gave me a Server 2008 x64 license. It's running perfect.

  • RE: Are the posted questions getting worse?

    Paul White (5/13/2009)


    Jack Corbett (5/13/2009)


    I hope he brings me one too!

    There is no way I have been *that* good all year :angry:

    Jack Corbett (5/13/2009)


    Can we get a SQLServerCentral bulk discount?

    Uncle...

  • RE: SQL Newbie - Best Practice Database Creation

    Jan Van der Eecken (5/12/2009)


    Sorry, I guess I misunderstood you. Thought you suggested to grow your DB by one Meg at a time...

    One dollar for every time I misunderstood somebody...

  • RE: SQL Server 2005 username/password validation

    Hi

    Usually your application connects with windows credentials of the current connected user to connect to database.

    If you want to use windows authentication but connect with another user you have to...

  • RE: SQL Newbie - Best Practice Database Creation

    Hi Jan

    IMHO 1 MB growth is almost never suggestive. I didn't say that it should always be initialized with gigabytes or even terabytes. This depends on the business case.

    I think...

  • RE: SQL Server 2005 username/password validation

    Hi

    You don't have to specify username/password in this case. Here an example connection-string:

    This works for OLEDB and SQL Server Client:

    "Data Source=YourServer;Initial Catalog=YourDb;Integrated Security=SSPI;"

    If you use SQL Server Client you can...

  • RE: Are the posted questions getting worse?

    Alvin Ramard (5/12/2009)


    You can sing that at our next meeting, next week.

    Send me a link when it's online!

  • RE: Performance issue with tally solution

    UMG, did you try the cursor?

    Greets

    Flo

  • RE: indian authors for sql server book

    Paul White (5/12/2009)


    @Flo: I know, it's becoming a worry...

    I would have thought that brussels sprouts would be worse than pork chops...?

    brussels sprouts and aubergines...

    :sick:

  • RE: indian authors for sql server book

    Jeff Moden (5/11/2009)


    I can, however, recommend an excellent book on how to cook pork chops. 😉

    Jeff and the meat... *sigh*

    😀

  • RE: Finding '/' positions

    Hi

    You can use a sub-query in your SELECT clause using a Tally (aka Numbers) table to find the positions. Use FOR XML PATH to concatenate the positions and SUBSTRING to...

Viewing 15 posts - 976 through 990 (of 2,038 total)