Archived Months
January 2003
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > sql server (alternate) > july 2007 > threads for july 1 - 7, 2007

Filter by week: 1 2 3 4 5

SQL question
Posted by dwightarmyofchampions NO[at]SPAM hotmail.com at 7/7/2007 11:59:37 AM
How do you combine two SELECT statements from two different tables into one result (assuming bioth tables have the exact same fields)? Like, assuming that the query SELECT * FROM Table1 gives the result ID Name 001 Smith 002 Jones and the query SELECT * FROM Table2 gives the result ...more >>


Import/Export wizard DateTime problem
Posted by Piero 'Giops' Giorgi at 7/6/2007 8:30:01 PM
Hi, all! The Criminal DB is going strong (as of today: 50 Tables, on 3077 Filegroups) Right now I stuffed in it about 2 million records (About 7% of total), but I'm constantly having an issue with dates. What is the CORRECT format to use when importing a DateTime Field??? Thank you!!! ...more >>

Problem with locking in Selects
Posted by bjornsuneandersen NO[at]SPAM gmail.com at 7/6/2007 3:12:47 PM
I have a Stored Procedure that performs a simple SELECT. The Select have no locking hints or other hints and the database is set up in a standard configuration. The problem is that the SELECT runs for some time and while it is running I can see (in the profiler) that other SPs with simple SELE...more >>

HELP!! Please .......
Posted by brukeste NO[at]SPAM gmail.com at 7/6/2007 11:07:53 AM
A newbie sql writer, so I hope the question makes sense..... I need to take a users current title and begin stepping through all their title records that they have had since they have been with the organization, until I find a break in the dates of service with their current title. So a use...more >>

Learn Oracle Database Administration in 10 Minutes
Posted by at 7/6/2007 10:56:13 AM
Learn Oracle Database Administration in 10 Minutes. No kidding. Check it yourself, http://www.takveen.com Only good analogy makes complex concepts simple! ...more >>

Help writing an If else statement
Posted by JJ297 at 7/6/2007 10:46:13 AM
Hello I'm a newbie to programming and need help writing an if statement. I have a database set up in SQL with the following fields: Category Questions Answers I only want one category to appear for all of the questions and answers submitted for that category. The way I have i...more >>

Trigger ed on delete...
Posted by Masterx81 at 7/6/2007 9:04:54 AM
Hi to all... I've a little trouble with a t-sql db... I've 2 tables int he db. On the child table i've a trigger that do some controls and some calcs that are saved on a 3 table. When i've created the db, i've added the reference from the child to the parent, with the option ON DELETE CASCADE...more >>

ISQL is truncating contents of text field sent to text file.
Posted by Rod at 7/6/2007 8:25:34 AM
Under SQL 2000 I have a table that consists of a single column of text type, each record holds about 15-25,000 chars. This data happens to be an xml, and I want to write this records to a text file. In order to accomplish this i'm using ISQL.exe, but i'm finding that some of the text type reco...more >>



Connect using different Windows user name...?!?!
Posted by Ben Hanson at 7/5/2007 10:12:37 PM
I've scoured Google searching for an answer that seems like it should be easy but apparently isn't...when I open SSMS to connect to a SQL 2005 database and choose Windows authentication, it greys out the User Name box...problem is, the server I need to connect to is in another domain...how o...more >>

Cannot connect to SQL instance without port information
Posted by Flash08 at 7/5/2007 10:02:02 PM
Hi all, I'm having some trouble with connecting to SQL server instance lately without adding a port number. I used to be able to always connect to instance without having to input SQLSERVER,portnumber. However now this is not the case. I doing this through an ADO connection object, and cre...more >>

large inserts
Posted by Emin at 7/5/2007 5:34:42 PM
Dear Experts, What is the best way to do a large insert WITHOUT having direct access to the machine SQL Server is running on? For example, imagine I want to insert something like 20,000 records. If I were to have access to the server, I could BULK INSERT into a temp table and then insert into ...more >>

Need SELECT ... LIKE help, please
Posted by manning_news NO[at]SPAM hotmail.com at 7/5/2007 1:56:26 PM
I've got the following SELECT statement in a stored procedure: SELECT FirstName, LastName, BusinessName, MailingAddress1 FROM tblAddresses WHERE FirstName LIKE '%' + ISNULL(@FirstName, '') + '%' AND LastName LIKE '%' + ISNULL(@LastName, '') + '%' If I input "tom" for @FirstName then it ret...more >>

Error 0xc02020a1: Data Flow Task: Data conversion failed
Posted by Sharif Islam at 7/5/2007 9:20:44 AM
Hi, I am new to SQL 2005. My text import with DTS in SQL 7 ( my previous version) works fine. I check the column URL, the data seems to be ok. I set it to varchar and length 255 ( I tried higher as well). Any idea? - Executing (Error) Messages * Error 0xc02020a1: Data Flow Task: Data co...more >>

Cannot connect to database using Enterprise Manager
Posted by rubeel NO[at]SPAM gmail.com at 7/4/2007 6:53:37 PM
I cannot seem to connect to this Instance locally which was i able to in the past. I can connect to the instance from out side. The instance is running and the DBs in the instance are available and used successfully by the applications but i cannot connect to the instance using the enterprise ma...more >>

Find website from email address
Posted by Mintyman at 7/4/2007 3:27:41 PM
Hi, I have 2 fields in a database: 'email' and 'website'. In the majority of cases, the website field is not populated even though the email address is. In 90% of cases, the website will be 'www.' followed by whatever is after the '@' symbol in the email address. Would anyone be able to...more >>

MS SQL getDate() Function remove Time
Posted by Yas at 7/4/2007 7:53:34 AM
Hi, I am creating creating a table with a Date column dd-mm-yyyy. But I cant seem to find a SQL function that just returns today's date. getDate() returns the time as well so I cant use it. The reason is simply that I want to update/overwrite over and over again all records from current day...more >>

pwdcompare equivalent in Sql2005
Posted by ArunDhaJ at 7/3/2007 3:47:35 PM
Hi Friends, What is the equivalent function of pwdcompare() in Sql2005? Thanks, ArunDhaJ ...more >>

How can I combine different rows?
Posted by hlajeunessse NO[at]SPAM gmail.com at 7/3/2007 1:53:49 PM
Hi! I have a table looking like (username) (account number) (start date) (end date) (product) wich I can have up to 4 lines for the same client. I wist to transfert those lines into a new table looking like (username) (account number) (start date 1) (end date 1) (product 1) (start da...more >>

How to use function based index in SQL Server2005?
Posted by Steven at 7/3/2007 6:05:46 AM
Don Burleson said in SQL Server2005, several new features are introduced include function based index.( Specialised index on a computed column (ala Function based Index)) But when I refered MSDN, I could't find this new function. CREATE [ UNIQUE ] [ CLUSTERED | NONCLUSTERED ] INDEX index_nam...more >>

OLTP vs OLAP (Data Warehouse) as a DataSource in Analysis Services 2005
Posted by russzee at 7/3/2007 1:01:56 AM
Hello, Can I import an OLTP (Reltional DB) as a Data Source into SQL Server Analysis Services 2005 and then use the Cube Wizard and the new Data Source View feature to create the OLAP model ? Or do I have to first design an OLAP Data Warehouse with a Star Schema and then import this DW as a...more >>

Dynamic Query
Posted by Ben at 7/2/2007 10:00:03 PM
Hi! I am trying to dynamically modify my pass-through query containing a procedure call with 2 parameters. When I run my access app, I get this error: "Object or provider is not capable of performing reuqested operation." Below is my access code: Dim varItem As Variant Dim st...more >>

SQL Query question
Posted by serwin NO[at]SPAM gmail.com at 7/2/2007 10:15:40 AM
I have an odd one for everyone and hopefully someone can help me. I have a process that selects from table 1 using a left join to Table 2. Table 2 contains the records that have already been selected and the query is design to only select new records out of table one. THe process then adds the...more >>

No mapping between account name and security ID
Posted by Zero at 7/2/2007 8:57:54 AM
Hi, I created a user account on my active directory service. I then tried to assign a service located on my SQL server to be executed by this account. However, when I try to configure my SQL server service, I get the following error message: WMI Provider Error "No mapping between account...more >>

Select with serial number column
Posted by ArunDhaJ at 7/2/2007 8:37:53 AM
Hi Friends, Help me in retrieving a table with a SNo column Select Name From SysObjects Where type = 'U' Order By Name asc the above query would fetch the Table names. as Name Table1 Table2 Table3 Table4 i need a view which should also include the serial number SNo Name 1 ...more >>


DevelopmentNow Blog