Viewing 15 posts - 61 through 75 (of 428 total)
themancorp (6/24/2008)
I've got to populate a table in a DB in a particular language. This language can be deciphered from finding the most popular language used by a set...
June 24, 2008 at 11:09 am
SELECT
COUNT(*) AS TotalRows
,COUNT(case when Status='P' then 1 else 0 end) AS Present
,COUNT(case when Status='A' then 1 else 0 end) AS Absent
FROM Attendance WHERE sid=studentnumber
June 24, 2008 at 10:14 am
why do you care if the output is different? sqlcmd still executes the script right?
June 22, 2008 at 10:10 pm
smells like a parameter sniffing problem.
get it? 🙂
June 21, 2008 at 10:38 pm
if you want to automate the generation of scripts from the cmd line, I wrote a tool to do it. it's open source on codeplex:
June 20, 2008 at 8:05 pm
Another reason people haven't mentioned is code reuse.
In our shop we have a library of helper functions that is used by all our managed components. We also...
June 14, 2008 at 9:56 am
nice that you found your query, but you should really use a source control system.
May 31, 2008 at 10:51 pm
SqlSpec is a tool I wrote for documenting databases. It supports all major DBMS platforms, including SQL Server and Oracle.
for collecting windows and hardware information, there are lots of...
May 31, 2008 at 2:44 pm
I use SqlSpec all the time, but I'm biased because I wrote it. 🙂
May 31, 2008 at 2:31 pm
I don't understand your question.
SQLCMD is the replacement in 2005 for OSQL.exe if you are familiar with 2000 administration surely you know osql. sqlcmd is easy to learn...
May 31, 2008 at 2:22 pm
if you have scripts that you want to run from a central location against many servers, you can use SQLCMD for that. It's very useful for that kind of...
May 30, 2008 at 1:37 pm
what is the first transaction? is it a big delete or update? if so you can always do this in batches to minimize the size of a transaction.
for...
May 7, 2008 at 6:12 pm
Viewing 15 posts - 61 through 75 (of 428 total)