Viewing 15 posts - 976 through 990 (of 2,038 total)
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...
May 13, 2009 at 1:49 pm
Hi
syscomments is only available for backward compatibility. Try sys.sql_modules instead:
SELECT
OBJECT_NAME(object_id),
*
FROM sys.sql_modules
Greets
Flo
May 13, 2009 at 1:35 pm
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...
May 13, 2009 at 12:19 pm
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
May 13, 2009 at 9:35 am
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.
May 13, 2009 at 8:30 am
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...
May 13, 2009 at 6:42 am
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...
May 13, 2009 at 5:22 am
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...
May 13, 2009 at 3:25 am
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...
May 12, 2009 at 5:09 pm
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...
May 12, 2009 at 1:07 pm
Alvin Ramard (5/12/2009)
You can sing that at our next meeting, next week.
Send me a link when it's online!
May 12, 2009 at 1:03 pm
UMG, did you try the cursor?
Greets
Flo
May 12, 2009 at 10:24 am
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:
May 12, 2009 at 5:48 am
Jeff Moden (5/11/2009)
I can, however, recommend an excellent book on how to cook pork chops. 😉
Jeff and the meat... *sigh*
😀
May 12, 2009 at 4:45 am
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...
May 12, 2009 at 4:39 am
Viewing 15 posts - 976 through 990 (of 2,038 total)