SQL Server Questions and Answers
21 - 40 of 2479

SQL select for month date range

Hello, I am attempting to obtain a count of visits each patient comes in in one month, so for example of they were a new patient in January on the 4th, I would want from the 4th of January to the 4th of February.  The code I am attempting to use is below, but every time I use it, no records are...

View Answer   |  Nov 9 2009  10:03 PM GMT
SQL Server, SQL
asked by CraigN

  20 pts.

sql results to text file

I starting using a new laptop and checked all my sql settings however when I run the same script on my old laptop and new laptop and save to file as text, the data is exactly the same but it is much larger on my new laptop. What setting am I missing on my new laptop? I already save with Encording...

Answer Question   |  Nov 9 2009  9:17 PM GMT
sql 2005 Performance Issues, SQL 2005
asked by Chpern

  5 pts.

Why is my logical disk usage enormous?

I have a cluster server (2003 OS) in my environment with SQL Server 2005. It has four internal disks with RAID 10 configurations. My logical disk usage is pretty high and I am not sure how to find out what exactly is “hammering” our server or what database is making this disk activity enormous....

View Answer   |  Nov 9 2009  2:19 PM GMT
logical disk, SQL Server 2005, performance tuning
asked by SQL Server Ask the Experts

  2445 pts.

SQl Server Replication Internals

Can someone please explain me the internals of SQL Server replication. I need to know what happens when a new data is inserted, which all views and triggers get initiated and how the whole process works. Thanks.

View Answer   |  Nov 9 2009  5:19 AM GMT
SQL Server administration, SQL Server replication
asked by Shahi

  5 pts.

Setting up dbmail in SQL Server 2005 on Server 2003

I am having trouble setting up dbmail in SQL Server 2005 running on Server 2003. I am trying to send mail through an Exchange 2007 Server. Do I need to use the SQL Service account with Windows authentication? Also on the Exchange side, how should the "receive connector" be set? Software/Hardware...

View Answer   |  Nov 6 2009  4:37 PM GMT
SQL Server 2005, Database Mail, DB Connector
asked by SQL Server Ask the Experts

  2445 pts.

TFS VSTS2010

Hello Members,                        I am very new to this blog.I want to need some information regarding VSTS2010 TFS(Team Foundation Server).I have couple of questions in my mind. I really want to share with you. At present time we want to implemnet automation testing...

Answer Question   |  Nov 6 2009  3:00 PM GMT
TFS VSTS2010, Visual Studio 2010, Visual Studio
asked by TE001

  5 pts.

Stored procedure content

Is there a way to "retrieve source" on a Stored Procedure ?  I need to find out what 2 of our Stored Procedures do - especially what programs thay call. Of course, no documentation and no methodology for source-based creation.   Software/Hardware used: as/400

View Answer   |  Nov 5 2009  7:50 PM GMT
Stored Procedures, AS/400 stored procedures
asked by Aceofdelts

  400 pts.

Refresh Reporting Services to view newly added sproc fields

How do I refresh reporting services fields after I have added new fields to my stored procedure? The new felds do not show up in Report Data window. I have tried rebuild and refresh. Neither sem to work. I am using SSRS 2008 Software/Hardware used: SSRS 2008

View Answer   |  Nov 5 2009  4:27 PM GMT
SSRS 2008, SSRS, SSRS reports
asked by Deeanna

  5 pts.

The IT Blog Top 10: Nov. 5, 2009

10. Using VRDP to view VirtualBox virtual machines remotely Rick Vanover has put together a useful tutorial for Sun’s xVM VirtualBox. 9. How to reset the Cisco Catalyst Switch to Factory Defaults Yasir Irfan offers some advice for those needing a fresh late on Catalyst switches. 8. Independent...

Answer Question   |  Nov 5 2009  4:01 PM GMT
ITKE, Channel, CIO
asked by Michael Morisy

  720 pts.

Effective ways for retrieving millions of records from a table?

I have two tables -- [em]Users[/em] and [em]UserAddress[/em] -- with 30 million records in each. Software/Hardware used: SQL Server

View Answer   |  Nov 4 2009  8:48 PM GMT
Data Tables, Microsoft SQL Server, SQL tables
asked by SQL Server Ask the Experts

  2445 pts.

Troubleshooting Data Mining in SQL Server Analysis Services 2005

I want to run the Data Mining tool in SQL Server Analysis Services 2005, but I can only get to the processing stage: It hangs (NOT RESPONDING) when I try to go into the Mining Model Viewer. Could this be a PC or SQL config problem? How do I resolve this problem?     Software/Hardware used:...

asked by SQL Server Ask the Experts

  2445 pts.

Constraints (MySql,tables,null,PK,FK etc)

Hi all(waves) noob here ( :) ) ( yes you might look down upon me) ( :( ) never the less....:)  Quick question: Tables made so far: department values (depno,dname) course values values (courseno) How would I create a table eg "Table budgets"...with values of two budgets (£100 and £200) for...

Answer Question   |  Nov 4 2009  7:52 PM GMT
MySQL, tables, constraints
asked by Ak1bo78

  30 pts.

The most-watched IT questions this week: Nov. 3, 2009

Here are the 10 most watched questions on ITKE: There’s some great discussions going on. Go answer a question now and take your shot at winning a TV: 1. Problem installing Exchange 2007 Management Tools was posed by Labnuke99 and answered by Mshen. 2. What Event ID was asked by Newbiepeon and...

Answer Question   |  Nov 4 2009  2:33 PM GMT
ITKE, AS/400, Channel
asked by Michael Morisy

  720 pts.

SQL Server 2005 on Windows 2008 64 bit SP2. Installation issue

I have tried to install SQL Server 2005 on Windows 2008 64 bit SP2. I have installed SQL server 2005 and SQL server 2005 SP2, however only the SQL Server 2005 configuration tools appear. (Everything was selected to install) I have found these posts which have the same issue, but they are...

asked by Jabba123

  10 pts.

How to export/ import userschema in SQL server 2005?

To export userschema in oracle, we can use expdp and impdp commands. Do we have any commands to export/ import userschema in SQL server 2005? Also, How to export all the tables to filesystem? Using SQL management server studio there is an option to export 1 table at a time to a file.      

asked by Saimadhu

  370 pts.

Select - Top 10

Hello, I have to tables, one with name CONTRACT, second AGENT IN table CONTRACT these data: ClientID ClientName ClientSurname ContractNR AgentID AGENT data: ClientID Sum ContractNR I need to select 10 agent's clients, who have a bigest sum. One agent have 100 clients, second only 2 or one...

View Answer   |  Nov 2 2009  9:02 AM GMT
SQL Server 2000
asked by Svetlaneto

  5 pts.

Security Update for SQL Server 2005 Service Pack 3 (KB970892)

hi! each time i try to update the captioned update it fails. i guess it has also caused my ooutlook to crash!!! pls help Software/Hardware used: vista ultimate + off. ent. 2007 with biz contact mgr.

asked by Teamwork08

  5 pts.

Access 2003: Can't filter Part-no's by highest $Spend Plant/Site

I have a file of Part-no with the spend by Plant (or Location).  A given Part-no may have multiple records for the different Plant Locations. I am trying to capture one record for each Part-no that included the Plant with the highest spend and what that amount is. I tried to do a summary query...

View Answer   |  Oct 30 2009  6:32 PM GMT
MS Access 2003, SELECT statement
asked by GatorRobNC

  5 pts.

Date Time SQL Selection Criteria

Hi everyone, My database table has a time field called [time], Data Type of "Numeric" length of "9" with a Precision of "14" a Scale of "0". The query below produces the following output : 2009-10-14 00:02:42.000 2009-10-28 20:15:10.000 Query : select DATEADD(ss,CAST(Left(min(time),10) AS...

View Answer   |  Oct 30 2009  2:22 PM GMT
SQL Server, T/SQL, Date Time
asked by Backpedal

  5 pts.

Auto backup configuration in SQL2005

How to setup an autobackup for the backup type of Full database and transaction log together as a single bakup file in sql2005.? We can setup to backup full database seperately and transaction log seperately, but i wanted these two should be a single backup file. Any suggestion pls. ...

View Answer   |  Oct 30 2009  6:01 AM GMT
SQL 2005 Database, SQL 2005, SQL Backup
asked by Shamoh

  40 pts.

21 - 40 of 2479