Advertisement

1 - 10 of 47807 containing alltags:("sql") (0.019 seconds)
If have a field in a table, say it is named tbl_test.  This tbl_test has a field latest_Update which is a date. I want to do an if statement in another sql query something like this. Meaning tha...
Zones: MS SQL Server, SQL Server 2005Date Answered: 02/05/2008 Grade: A Views: 264
I have a table with 3 fields that are key's  (say a, b and c) I have another table (table2) where I have the same keys, but it contains only a subsete of the fields. what I want to do i s to up...
Zones: MS SQL Server, DatabasesDate Answered: 02/14/2008 Grade: A Views: 0
I would like to change db owner on a DB that i restored. I ran the following and it doesn't work.. Any ideas? Owner is currently called odbc and i would like to replace it with dbo EXEC sp_ch...
Zones: MS SQL Server, DatabasesDate Answered: 04/07/2008 Grade: A Views: 85
Hi folks, I have a database table named tblsales. I want to create a stored procedure that will take two input parameters.These are @Year and @week. When I enter these two parameters then stored...
Zones: MS SQL ServerDate Answered: 04/10/2008 Grade: A Views: 13
How do I get a secondary COUNT in an SQL query? I have a table called ITEMS as shown below. I have an SQL query with a GROUP BY giving me a report, but I need more detail in the report. What SQL...
Zones: SQL SyntaxDate Answered: 05/31/2008 Grade: A Views: 0
I would like to convert a date time field to a string . example the string should look like this 08/26/2008 10:30:26
Zones: SQL SyntaxDate Answered: 09/02/2008 Grade: A Views: 305
I want to enable bi-directional communication at the server level between SQL and Oracle servers. I would like to get a hold of the SQL server for Windows NT Programmer's Toolkit. According to th...
Zones: MS SQL ServerDate Answered: 08/12/1997 Grade: C Views: 0
How do I write an SQL-query that generates these results: OrderID   UserID      UserName --------- ----------- -------------- 010101    ASMITH      Anthony Smith 010200    (null)      (null) from ...
Zones: DatabasesDate Answered: 08/06/1997 Grade: C Views: 4
Is there a comparable function to Access's PIVOT?? I would like to sum all the records by employee location by Job Title, where i'd be doing a group by Job Title and pivot on Location; JobTitle  ...
Zones: MS SQL ServerDate Answered: 11/21/1997 Grade: A Views: 8
I have two Compaq Server Prolian 800 : 1 PentiumPro 200, 128KB Ram & 4GB HDD Prolian 6000 : 2 PentiumPro 200, 256KB Ram & 12GB HDD(RAID5) Both running Windows NT 4 (SP3) and MsSQL 6.5 (SP4). I w...
Zones: MS SQL ServerDate Answered: 02/09/1998 Grade: B Views: 0