Groups | Blog | Home


Archived Months
March 2003
May 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
November 2007
all groups > sql server clients > june 2005

How To Determine if SP3a installed on client PC?
Posted by Fred at 6/29/2005 8:06:02 AM
How can I tell (preferably by a version attribute on some DLL or EXE) that Service Pack 3a has been installed on a client PC? KB articles such as 321185 do a great job of showing how to use SERVERPROPERTY to determine what version the SERVER is running, but that's not my question. I need to ...more >>


SQL Agent Account
Posted by Gabe Matteson at 6/27/2005 12:11:52 PM
A problem occurred while attempting to logon as the Windows user 'SQLAgentCmdExec': The parameter is incorrect. The step failed. There are a few jobs that developers create and they run under there accounts, I do not want to give them sysadmin access, but they need permissions to CmdExec. I e...more >>

Error messages in Client
Posted by cds at 6/26/2005 12:00:00 AM
Hi I am running a software package that access SQL Server files. I am getting these messages: * "Invalid pointer operation" * "The RPC server is unavailable" * "Access violation at address 40006834 in module 'rtl60.bpl'. Read of address FFFFFFFF" when deleting an event * "Access vi...more >>

Regarding TimeStamp.
Posted by Roy at 6/25/2005 12:45:00 AM
Timestamp is a data type that exposes automatically generated binary numbers, which are guaranteed to be unique within a database. timestamp is used typically as a mechanism for version-stamping table rows. The storage size is 8 bytes. let's say there is a table CREATE TABLE ExampleTable (...more >>

UniqueIdentifier column
Posted by Roy at 6/23/2005 12:30:56 AM
I am trying to execute the following stored procedure by the following ways but failed to do so ... can you add some comments regarding this. First Attempt: DECLARE @ErrorCode INT EXEC SPUpdateAssignProduct @AP_AssignProductID = 1,@AP_LockedID = 'A73E0831-8FCA-459B-BBAA-C7E72AC75A1',@ErrorC...more >>

ROW ID
Posted by Roy at 6/21/2005 5:42:24 PM
Can any one guid me like I have a billions of records and I want to see only 10th record and I want to fetch the 10th record through rowid not the Unique primary key. Let's say Table primary key id start from 6380, 7066, 7067, 7131, 7896, 8042 and so on .... If I wanna fetch third r...more >>

Can't generate script for Triggers using DMO
Posted by Lee Grissom at 6/21/2005 2:45:25 PM
For some reason, when I try to generate a script for Triggers off of a View using DMO, I get back garbage like: ??VIEW1 That's the complete text coming back, nothing more. I can see it clearly using MSEM just fine. Any thoughts? -- Lee ...more >>

Comparing two databases
Posted by Gabe Matteson at 6/21/2005 12:21:51 PM
Are there any tools that allow you to compare two sql server databases to find out what is different between them (the database structure, including tables, relationships etc)? Thanks, - Gabe ...more >>



SQL Division ?
Posted by Thomas McFarlane at 6/18/2005 8:21:09 AM
SQL Experts, I have a compute problem in SQL Server 2000 SP4. I have the following SQL Script to derive a %. According to the example below, the iSQL returned a 0.000% while the actual result is 45.91836% Example: declare @i numeric(9,5) set @i=(45/98)*100 select @i --The above ex...more >>

Image save into folder
Posted by Roy at 6/17/2005 4:34:44 PM
Dear Professional, Image saved in the table and I wanna copy that image into any folder let's say... D:\Image\MineImage.gif Is it possible ? Thanks ...more >>

SQL Express Manager - June CTP
Posted by Tim Toennies at 6/17/2005 7:46:15 AM
I just downloaded this product & it looks like it could be a very good solution for a large number of users at our company. However, I believe there are a couple of things that if modified would make it much better for our usage. They are: 1. The tool does not have a way to store your ser...more >>

Can I have different SQL clients co-exist?
Posted by Ippy at 6/16/2005 11:05:04 PM
Can I have both SQL 6.5 client (Enterprise Manager, ISQL_w etc) and SQL 2000 (Enterprise Manager, SQL Analyzer) installed on the same machine?...more >>

Table as a variable
Posted by Timothy Peer at 6/16/2005 4:02:01 PM
I am reading a list of tables from a table and wish to execute a SQL statement for each table from this list. I tried declaring @table_name, depositing the table name from my table-list data. However, the "Select * from @table_name" SQL fails. Any ideas?...more >>

showcontig results
Posted by erdem at 6/16/2005 12:23:02 PM
hi everone i have question about DBCC SHOWCONTIG results of Table we have table with huge amount of data in it. When i run ''dbcc showcontig('<TableName>') with fast, ALL_INDEXES,TABLERESULTS '' i saw that most of indexes have logical fragmentation over 80% then i run DBCC dbreindex and...more >>

Alter table (changin collation) & text -datatype
Posted by Major at 6/16/2005 12:13:24 PM
I try change database's collation. What is the right way to do this? Now I have script which 1) Drop indexes 2) Drop pk:s 3) Alter all character -type columns: "alter table xx alter column datatype(len) collate new_collation null|not null" 4) Create PKs again 5)Create indexes again It'...more >>

SQL Client protocol - not using tcp/ip
Posted by Gary at 6/15/2005 9:04:19 AM
We've got SQL 2000 clients (standard install, no sp) who are connecting to our SQL 2000 Servers with Named Pipes even though we've disabled named pipes in the client network utility. They should be connecting via tcp/ip. Any ideas on what could be causing this? ...more >>

really appreciated.
Posted by Roy at 6/15/2005 12:27:32 AM
Is it possible through front end like I can call DTS package on demand like on button click.. for instance on button PUSH click I want to call Package1 and on button PULL click I want to call Package2.... how can it be possible? any help is available ? I would really appreciate..... Thanks ...more >>

dBase File
Posted by Roy at 6/14/2005 2:07:51 PM
I have one customer.dbf file and in SQL Server I have a customer table. Now the problem is that I don't have Dbase install in my computer. I want to push the sql server data into the customer.dbf file. I am trying to do this through DTS export wizard but failed to do that... Can any one guid...more >>

column alias in where clause
Posted by Martin at 6/14/2005 2:29:01 AM
Hi, I'm trying to migrate a database from Sybase to SQL Server. As far as I understand (I'm not a db exert), it is not possible in SQL Server to reference an alias for a column name that is defined in the select-clause in the where clause. With Sybase this worked, so this kind of thing is wide...more >>

highly appreciated !
Posted by Roy at 6/13/2005 1:28:56 PM
You are the DBA for a busy order entry database. You want to provide a method for automatically backing up the transaction log for you database in case it becomes more than 90 percent full prior to the next regularly scheduled transaction log backup. What is the best way to accomplish this? ...more >>

Any Idea
Posted by Roy at 6/13/2005 1:09:18 PM
If Table1 is going to be joined on 90% of the time on ID, and used to generate lists 10% of the time, which of the following combinations of indexes would provide the best performance to the most queries? 1.. Clustered unique inde on ID; non-clustered index on LastName, FirstName 2.. Clus...more >>

Index
Posted by Roy at 6/13/2005 1:06:41 PM
If Table1 was used in an inner join, with the ID field being the inner join index, which of the following indexes would provide the best performance? 1) CREATE UNIQUE CLUSTERED INDEX foo on Table1(ID) 2) CREATE UNIQUE INDEX foo on Table1(ID) ...more >>

Datatypes !
Posted by Roy at 6/13/2005 12:48:48 PM
Are UNIQUEIDENTIFIER & TIMESTAMP data type are uniquly identified in the database? Thanks ...more >>

IN vs EQUAL
Posted by XMan at 6/13/2005 11:28:50 AM
I'm wondering if there's a slower running time between IN and EQUAL in the WHERE clause. SELECT * FROM CUSTOMERS WHERE CUST_ID = 123; vs SELECT * FROM CUSTOMERS WHERE CUST_ID IN (123); TIA. ...more >>

someone help
Posted by Sujay at 6/13/2005 7:50:05 AM
For ORG_ID: I have the query below.. can anyone help me with it.. this is the first time I am creating SPs.. thanks in advance 1. First Join between [RAS].[dbo].[EXPENSE_ENTRY] AND [EDGE].[dbo].[tblCustomerFile] Common Column: TransId IF [RAS].[dbo].[EXPENSE_ENTRY].TransId = [EDGE].[d...more >>

Finding unique field names with different values
Posted by alpoor at 6/8/2005 9:18:23 PM
I am in a situation where I need to find out unique field names with different values in a table having 200+ columns. Let's say I have two rows with 200+ columns ( I exported these rows from Lotus Notes to SQL Server) I am not sure what columns makes unique of these rows. It's going to be t...more >>

AutoIncrement Primary Key
Posted by Gabe Matteson at 6/8/2005 12:48:20 PM
Is there anyway to auto increment the primary key column like you can in access but for SQL 2000? Thanks, - Gabe ...more >>

Indexes, primary keys constraint type from sysconstraints -table?
Posted by Major at 6/7/2005 12:30:06 PM
Where I can found information that what indexes are primary keys, and where is the information of constraints type in sysconstarint table? I readed drom help that field sysconstraints.status should tell it, but I have mystique values in this field, such as 3105, 2069, 133141 etc... Data type is...more >>

Code behind SP_HELPINDEX / using stored procedure as sub query
Posted by Major at 6/6/2005 1:54:38 PM
Where can I found index_name and index_keys of indexes in SQL Server? I know that there is table sysindexes but there aren't index names etc. I need information of table's indexes, such as SP_HELPINDEX return. So I tried something like this: Select index_name, index_keys from (sp_helpindex t...more >>

To Supress BannerText in MSI
Posted by Shailaindra Sharma at 6/6/2005 12:00:00 AM
Hi Folks, I have developed a Setup Program. I have also created an MSI, to which I make a call from within this setup program. The Point is that in this MSI, if i add a Dialog Box manually, I see a property called "Banner Text". However such a property in not present for Default Dialog Boxes. No...more >>

Help
Posted by microsoft at 6/2/2005 3:09:16 PM
I have too many connection from one user, Can I limit this user's connectiion num? I can't change his code. Thanks Jack ...more >>

Lock hint ?
Posted by Roy at 6/1/2005 9:41:41 PM
Here I have a question like I have created one stored procedure which InsertCustomer and call that stored procedure in the customer form.... the problem is that when more than 50 - 60 people access the same form simultaneously then it gave me some time time out error or some times gave me primar...more >>

SQL Client licensing
Posted by Orlando at 6/1/2005 12:11:02 PM
Unable to understand licensing. We have a 25 user windows 2000 server as a member of windows small business Server 2003 std edition domain. We would like to install SQL on the W2K server. Do I need to purchase SQL CAL's or would the windows CAL's suffice....more >>

foating numer
Posted by Loui Mercieca at 6/1/2005 11:38:40 AM
Hi, I am using sql server 8. I have a table with a column whose data type is set to Float with a length of 8. Whenever i am inserting the value ending in .1 it is storing the value .10000000000000001. Why is that? Thanks ...more >>

how to restore
Posted by hui at 6/1/2005 12:00:00 AM
I have a copy of Data File and Log File, named pms_bak.mdf and pms_bak.ldf. May I restore them into my new sql server? How can I do? thank u ...more >>


DevelopmentNow Blog