Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Programming / SQL / July 2008

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
select count of rows per group21 Jul 2008 21:59 GMT4
I need to select the count of the first 3 rows per each group (xID) up to a
count of 3 rows (top 3 rows - order by column x1) where the stat column is
not null.  if a group contains more than 3 rows where stat is not null -
ignore the extra rows - only count the first 3 rows in ...
Sql Server and Sql Agent accounts21 Jul 2008 21:56 GMT1
Hi I would like some advice, i have started as a DBA and have 20 sql servers
under me. Each Sql Service account and Sql Agent account runs under different
accounts so thats 40 accounts to keep track off.
Some of the paswords are not known so instead of just resetting the
How to tell if systype is user defined21 Jul 2008 21:40 GMT6
I ran into a problem with my query where I was trying to get the type and
length of fields in my table.
But I ran into a problem with varchars and chars passing back multiple
values from the types table.
Need to return more than one record from sub-query -- why doesn't     this work?21 Jul 2008 20:57 GMT2
I have a question, more of why MS SQL is doing this than anything I
guess.  I'm writing a Case statement within my Where clause to create
a conditional where, and though in theory it would work, MS SQL is
complaining when I don't think it should.
Inject numbers frmo 1-etc for a column21 Jul 2008 20:31 GMT5
I'm trying to do this in SQL 2005.  I have a table with no unique identifier
and I need to add this now.  Say I have Table1 and I created a column called
ColA.  There are already 7000+ records in this table and I want to inject a
number value in ColA from 1-what ever.  I'm ...
case question21 Jul 2008 20:04 GMT7
 I have a simple case function that I would like to use inside a select
statement:
Select price, case price
                  when 5 then 'Five Dollars'
'Having' question21 Jul 2008 17:40 GMT9
If I use:
HAVING (GroupName LIKE @EnterMasterGroupName + N'%')
I get:
GroupName:
search strip time date column between two dates - perfomance21 Jul 2008 17:16 GMT5
Using SQL 2000 sp4
I have a table that has over 100 million rows
Just looking at the best performance approch where condition in a huge
table.
SNL Sql21 Jul 2008 16:48 GMT8
For those that aren't familiar with SNL it's 'Saturday Nite Live'. It's a tv
show that parodies celebrities, politicans, social behavior etc. It's humor
with a stinger, it's supposed to make you laugh at that which is just too
silly to be taken seriously:)
Identify table/index scans using SQL Server Profiler21 Jul 2008 13:33 GMT3
I'm using SQL Server 2000 sp4. Huge database (100+ tables), huge
application.
Is there a way to use SQL Profiler to filter out all table/index
scans?
Normalization Techniques21 Jul 2008 11:27 GMT6
I'm not sure if I've really titled this post properly. Let me explain.
I have two VERY large csv files that were imported into SQL Server
Express 2005. After the import I now have two large tables with millions
of rows of data in them, but now I'm trying to normalize the data. As
CASE Statement when ranges involved21 Jul 2008 10:22 GMT11
I would like to convert the following VBA to T-SQL, the problem I have is
finding the correct syntax for specifying a range to be tested:
Regards
VBA------
a smart CASE statement21 Jul 2008 09:28 GMT4
I have the following three SELECT statements:
----------------------------------------------------------------------------------------------------------------------------------------
SELECT
distinct
Using Case condition in the WHERE clause21 Jul 2008 08:59 GMT1
I have a below query.
Select * from Employees(NOLOCK) Where HomeCountry = 'USA' AND
HostCountry = 'JAPAN'
In some places i want to use 'OR' in place of 'AND' in the WHERE
ROUND function21 Jul 2008 08:12 GMT11
I need within a query to compare a couple of calculations, with their
results rounded. I have been trying to use the ROUND() function:
SELECT ROUND(-1.92, 0);
but find that I get the following error if the calculate value <1 and >0.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.