Hi all, I need to create a DTS package that will on a daily basis transfer +- 150000 rows from around 3 tables holding around 18 million (and...
If you use windows authentication for you connection details is there a way to obtain the user login name in sql server for that connection eg in the...
Hi All, Been hitting a bit of a brick wall, I was wondering if it's possible to have a UDF or SP and in it use recursion to navigate a parent/child...
Hi all, Maybe someone out there has an easy fix for this, hope so. Basically we have a table with a set of reports on. Each report has a report...
I've been working on some queries and have found that when queries have the shamefull * operator in them to retrieve all columns instead of the...
All, I've got a sql statement pretty much like the one below, what I'm trying to do is get the total of all the records returned select...
Hi all, One of our database crashed last night while rebuilding the indexes in a scheduled job. The exact error was : [Microsoft SQL-DMO (ODBC...
Hi all, Anyone aware of another method to retrieve an entire row's data into a single field without using the FOR XML clause? We have an audit log...
I'm having a bit of a discussion with my colleagues on this. Does anyone know of any benefit over using a Bit datatype over a Tinyint? They both seem...
Hi, I've just read the thread on paging records in stored procedures and noticed that on the 4guysfromrolla link that they SET NOCOUNT ON at the end...
Hi there, We've got an application that calls a sp, it retrieves 20 rows and then for each row another sp is called from the client app. The query...
Any suggestions on storing xml in the database? I've got an xml document which basically represents a set of questions and their attributes, the...
Hi all, I work for a really small company developing software. As it is we're all developers, there's no DBA. I was wondering what kind of...
I was wondering if anyone could shed some light on what would be faster? I have a query that will always return 1 row which will be on average about...
Hi all, I was wondering if any of you could tell me if there is a major performance improvement in choosing one of the below methods over the other?...
Separate names with a comma.