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 / Other Technologies / English Query / November 2005

Tip: Looking for answers? Try searching our database.

ThreadLast Post  Replies
SQL HELP WITH LAST TIME ONLY30 Nov 2005 00:21 GMT1
I have got a SQL query that get information from different databases,
I have all the information that I need but now I want the last information
I have three columns they are the following
Number
Merging mutliple rows from one table into columns in an other20 Nov 2005 20:14 GMT1
I have two tables. One is an export from a different database and one is the
destination table.
The Export table looks something like this:
EmpID = the ID of an employee
Grouping by Distinct18 Nov 2005 01:56 GMT1
I have 2 columns of data, one has an Agent code and the other has
information about the Agent.  There are duplicates of the Agent code in the
1st column, but different info in the second. For example:
Col 1          Col 2
Comparing Data between Tables16 Nov 2005 22:41 GMT1
I messed up and now we have two tables that have slightly different
information. What is a query that would allow me to look at the data
differences between the two tables?
Conditional Join11 Nov 2005 22:52 GMT1
What I have are two different tables that I am going to join.  Everything in
the first table should be pulled.  The second table should only pull the
information when the field ACTION equals the word "ORDERED".  Is there a way
to join two tables on just a literal
IF statement in SQL?11 Nov 2005 22:44 GMT5
Can I write an if statement in T-SQL for MSSQL2K or do I have to do it in the
WHERE clause?
Would like to say:
IF field1 = e
Return single line11 Nov 2005 17:02 GMT2
What I am looking for is to read a file that has three columns to it and
return the lastest part number with the newest date.
part Number    Date       QTY
2534               100102  20
Finding the Shift for current hour07 Nov 2005 22:44 GMT3
I have a table which stores the shift timing like this:
ShiftId    StartTime                   EndTime        WeekDay    Shift
1    6:00:00 AM    6:00:00 PM    7    Shift A
2    6:00:00 PM    6:00:00 AM    7    Shift B
Max07 Nov 2005 22:44 GMT1
  I have a list of data as show below ,
  Data1      Update Date
---------    ------------
    1          01-01-2004
Fixed length records03 Nov 2005 23:37 GMT3
I have to build a text file that has 80 character records.  I have a number
of fixed length fields in the file but need to add a 'filler' at the end of
the fields to get to 80. Do I have to create a dummy variable to do that and
if so, how?
right justify left zero fill03 Nov 2005 23:17 GMT5
I have to build a text file with a dollar amount that must be right
justified, left zero filled and no decimal.  The field I am extracting data
from is 'amount' and defined as decimal 9(15,2).
No Decimal trailing sign03 Nov 2005 17:52 GMT1
I have a field defined as (decimal 9(15,2)) and the recipient of a conversion
.txt file wants to see just the meaningful digits, no decimals, no zero fill
but does want to
see a trailing minus sign for negative numbers. So they want to see 550.45
Compare Character to numberic03 Nov 2005 00:49 GMT6
I have to join two table based on the matching of two fields.  The bad part
is one field is numeric but defined as Character and the other field is
decmial.  This is my SQL.
FROM
NULL encountered in math01 Nov 2005 22:08 GMT1
I need to subtract two values in a table.  One of these values contains a
NULL entry.  Each time I use the (Pledge - Credit) as 'Difference' I get the
value of NULL.
How do I get T-SQL to replace the NULL with zero?
 
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.