Groups | Blog | Home


Archived Months
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
November 2007
all groups > sql server mseq > october 2003 > threads for october 8 - 14, 2003

Filter by week: 1 2 3 4 5

Help with Query . . . . again
Posted by Newbie at 10/14/2003 3:51:23 PM
Is it possible to change the following query so that the @classification can either be null - to return all records 'DB' to only return records where classification = 'DB' and ' ' to only return records where classification like ' ' here is what I have so far but it doesn't cater for the lik...more >>


Stored Procedure Help
Posted by Bryan at 10/14/2003 12:51:45 PM
New to SQl and would appreciate some help in executing a stored procedure where the criteria in a WHERE clause is more than one value for a given column. For example I use this when I pass a single value as UserID, but how could I filter the table if I have multiple values for the Where c...more >>

Pulling apart a field in SQL query
Posted by Erika at 10/14/2003 9:31:49 AM
I really hope someone out there can help me out. When running a query, I want to fill an empty field with the "name" field minus the middle initial or suffix (JR, SR, etc). I know how to pull these off in Excel, Access, but I can't seem to do it in SQL query. PLEASE HELP - i would be fo...more >>

Help with query
Posted by Newbie at 10/14/2003 9:29:15 AM
Hi have a the following snippet from a query where QotStat = coalesce(@Status, QotStat) If I don't give a value for @Status then all records are returned however what I want to achieve is that when I don't give a value for @Status I want records returned to be limited to where QotStat = 0 or...more >>

Major help needed
Posted by Brian at 10/14/2003 9:18:23 AM
I just upgraded a system to SQL Server 2000. I have an access datadase that run's SQL queries. Now after the upgrade the queries no longer run. I know it is the access query but am unsure of how to rewrite then query. This is an example of one of many queries I use. SELECT datetime, meltr...more >>

how to merge two tables in Toad using SQL
Posted by aoca at 10/14/2003 8:21:04 AM
Hi, I would like to merge two different tables running an SQL script thus I can export it to excel and then creat a flat file (.txt). Does someone know how the SQL should read? Thanks in advance Alberto -- Posted via http://dbforums.com...more >>

Space Allocated
Posted by Jarrad P. Wilkinson at 10/14/2003 7:06:20 AM
Does anyone know about to generate in Query Analyzer the Space Allocated Statistics that are graphically available in Enterprise Manager? What would be the correct query to run to generate this information? Thanks! Jarrad Wilkinson...more >>

Database Backup
Posted by Arti at 10/14/2003 5:27:06 AM
hi All, As i am developing an application in Vb.Net. I want to take backup of SQL database. My application is Client server application. SQL server is on remote Machine. While taking back up i have to give the access to SQL server Machine only. if give the Path of Local machine it give th...more >>



2nd time FETCH Error
Posted by naz at 10/14/2003 1:30:55 AM
Hello Sir I am facing a problem while using Cursors in Procedure Actualy the fetch is working properly when i Execute first time in query analyser.2nd time when i execute again the cursor is not fetching any data.The @@Fetch_status showing -1. Please help me how can i initialize @@fetch_statu...more >>

How to truncate the transaction log file for Querys.?
Posted by Rothman Salinas at 10/13/2003 9:59:30 AM
Hi, All I' Have 8Gb of transaction Log, is very big. It almost hang the server. Any way to decrease it or truncate it? Thanks. ...more >>

renaming
Posted by katlegom at 10/13/2003 4:02:16 AM
How do you rename a datafile on Sql Server?...more >>

Use these patch from MS
Posted by Jan Pieterman at 10/13/2003 3:22:53 AM
MS Customer this is the latest version of security update, the "October 2003, Cumulative Patch" update which fixes all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to maintain t...more >>

Check these corrective update
Posted by matura at 10/13/2003 2:18:55 AM
Microsoft Partner this is the latest version of security update, the "October 2003, Cumulative Patch" update which fixes all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to help...more >>

Problem matching extented char '˚' degree sign
Posted by Jay at 10/12/2003 7:07:24 PM
Hello, I'm trying to select some records from an SQL 2000 database. The Select statement is as follows: select * from test where field1 = '38˚' No records are retuned even though there are some content that matches the criteria. How do I select records that contain the degree '&#...more >>

UDF in SQL Server
Posted by Glenn Hulls at 10/12/2003 6:10:14 PM
I have written a couple of short functions I would like executed from within a stored proc. The create scripts run properly and i can see the objects in sysobjects - type = 'FN'. How do i execute the functions ?? I have been trying the following but i keep getting an error saying th...more >>

Problems with a query
Posted by Oswaldo at 10/9/2003 1:12:21 PM
Hello, I have problems with a simple query. I do this: declare @fechas char(50) select @fechas=rtrim(convert(char (30),fec_publicacion,103)) from fechasavisos where cod_aviso=249731 and tip_aviso=2 print @fechas This query have 2 values. The variable @fechas must be keep 12/10/200319/1...more >>

=> IIF Function what is alternative in SQL Server Query
Posted by Rhonda Fischer at 10/9/2003 9:16:33 AM
Hello Again, I have since worked out what I need to replace some of the Access SQL Query with. I just need to take the output of my DATEDIFF a step further and convert the negative values to a varchar "No" output or a positive value to a varchar "yes" output where the IIF function was used ...more >>

=> getDate() and IIF function
Posted by Rhonda Fischer at 10/9/2003 6:45:13 AM
Hello, I am currently taking a query used in Access and changing it to comply with SQL Server syntax. I am experiencing problems with the use of getDate() and the IIF function, and as such looking for an alternative means to extract data. CURRENT SQL ACCESS QUERY: (works in Access) -----...more >>

the sum function
Posted by Tom Callaghan at 10/9/2003 6:43:46 AM
Hi all, This is probably a really easy question and I don't know why I can't answer it myself, but I can't and its frustrating me now after 2 days. I have a table:- cv_case_key decimal(9) case_section_section_key decimal(9) case_section_paid money(8) month_number decimal(9) ca...more >>

Inner join one table twice in large query
Posted by Daniel at 10/9/2003 2:23:34 AM
Hi all, I have the following issue. I need to join one table twice, parent child relationships stored in db table. I have figured out that aliases is the way to go. I can run a basic query in which the parent and child relationships are shown in the recordset. Once I convert this query to...more >>

Is Post Commit Triggers supported
Posted by Sharbel Cherian at 10/9/2003 1:20:36 AM
Hi Does anyone of you know whether a post commit trigger (also called an after commit trigger) is supported in SQL Server. A post commit trigger is a trigger that is called after a transaction is committed. This is unlike the normal "instead of", "for" or "after" triggers supported...more >>

How do I impose the IDENTITY property on an existing column?
Posted by Michael Berry at 10/8/2003 9:54:39 PM
How do I impose the IDENTITY property on an existing column with data in it already? Scenario: Column "joe" is not an IDENTITY column Data imported into table and "joe" now has data. ***I want to now assign "joe" the IDENTITY property without dropping and re-adding the column. How do ...more >>

SQL Query by Date
Posted by Chip Melton at 10/8/2003 12:59:31 PM
I am new to the SQL Statement building and i may be in the newsgroup to ask this but I am needing a statement to go back 1 month from today to query information before that time. I want it to do this each time i run the query not just a static date that has to be changed each time it runs...more >>


DevelopmentNow Blog