Groups | Blog | Home


Archived Months
March 2003
April 2003
May 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 (microsoft) > january 2006

Filter by week: 1 2 3 4 5

sql express - anything between datatype nvarchar(4000) and nvarchar(max)?
Posted by Steve at 1/31/2006 1:32:05 PM
I have a data field which a user of a website can populate in unicode. Now I don't really want to set the datatype to nvarchar(max) because I am worried that some malicious user is just going to upload 1gb of data! But nvarchar(4000) is also too small? So what do I do? Anything I can do...more >>


Monitoring 30+ Servers; Need Script to email Status Once a Day
Posted by Matthew at 1/31/2006 8:39:13 AM
I currently am monitoring 30+ servers, and every day I need to check to see weather the previous days specified jobs ran successfully. In additional I am an ongoing maintenance plan that I have running once a week to check the integrity of the DBs, I would like to also receive an single email o...more >>

[DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not exist or access denied
Posted by shawnkc at 1/27/2006 1:17:16 PM
I've scoured the net for a solution to my problem and found a lot of good resources, but none that solved my issue: http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx http://blogs.msdn.com/sql_protocols/archive/2005/10/29/486861.aspx#518504 I have a working application that opens ...more >>

Question on SQL 2005 Express
Posted by jhcorey NO[at]SPAM yahoo.com at 1/27/2006 7:37:58 AM
We have a commercial VB6 app that uses Access. We want to start using SQLServer, and I see that Express is 'a free, redistributable version of SQL Server 2005' (quote from MS) that we could use as an imbedded database. However, if we change the app, we will have to provide a conversion path ...more >>

SQL 2000 Database Synchronization Advice
Posted by George Trojan at 1/27/2006 12:00:00 AM
Hi, Wondering if anybody has had experience with inexpensive software which works for scheduled or real time synchronization of SQL databases from one server to a backup (local or remote) server. Thanks George Trojan ...more >>

drew@andrewk.com.au
Posted by drewmania001 NO[at]SPAM gmail.com at 1/25/2006 4:56:30 PM
When using an app that runs an sql backend i recieve the following message... "unable to load sql server oledb provider resource dll. The application cannot continue" i am unsure of how to go about troubleshooting this error and would like some more info on it. i'm running xpsp1 and have...more >>

DTS packages - where do they reside
Posted by Rob at 1/25/2006 12:00:00 AM
Where do DTS packages reside ? Is there a way to automaticaaly back them up ? ...more >>

Starting sql service in small business server
Posted by Claude Amyotte at 1/24/2006 6:14:34 PM
Can someone please direct me to some resources or tell me how to start the sql service that is included with small business server? I've never done it without the interface before. Thanks! Claude. ...more >>



Restore DB across network
Posted by Pippen at 1/24/2006 11:21:18 AM
Here is what I have... I copy a database backup from our server at work 'Users.bak'. I have a have a network storage device that I copy it to from work and then bring it home. What I would like to do is restore the User.bak db to my network storage device. This is a fairly large DB and I'm ...more >>

sql server Visio
Posted by xxxxyz NO[at]SPAM abv.bg at 1/24/2006 12:04:02 AM
Hi, I have created a Visio page with tables and relations. Could I generate sql script for creating tables and relations according this visio page? Thanks. ...more >>

Do not want to display results on Query Analyser.
Posted by Chatakondu at 1/23/2006 5:21:20 PM
Dear Experts, I have a following SP and I would NOT like to see data displayed in query analyser. Since I have EXEC (@vSQL) statment it is displaying data in QA. If I have 100000 records executing I am getting "Resource is Low, Some results are dropped error." It is true becuase it is trying to...more >>

Query for Database, Table, Index name all on one list.
Posted by MKruer NO[at]SPAM gmail.com at 1/23/2006 12:52:46 PM
Is there a simple way to join these two commands so I can get a single list of both the databases names and the entire list of table name with index names? SELECT name FROM master.dbo.sysdatabases DBCC SHOWCONTIG WITH FAST, ALL_INDEXES, TABLERESULTS, NO_INFOMSGS I am just looking for the ...more >>

Recover a database with only MDF
Posted by frankenbean NO[at]SPAM gmail.com at 1/23/2006 5:25:45 AM
We had a crash on the partition that houses our log files. We recovered most databases from backup, but a few were marked 'suspect' and I didn't have a good backup. I used sp_detach_db to detach the databases, and when I tried to reattach them, I got warnings that the log files were corrupt. ...more >>

Cost about sql
Posted by Dimitris Mexis at 1/20/2006 4:37:09 PM
I run sql server, the analyser and get a diagram of the "Costs" when something there shows Cost 100% and I already know that this query takes soooo much time what can I think of? Does 100% cost means that nothing is working after this point? In pure life 100% cost means that something is devalu...more >>

count number of times a resource has been requested
Posted by k0mput3r at 1/19/2006 12:35:12 PM
Hi, Is it possible to get a count of how many times an sp has been called on a server? I know I could set up a trace on a server for sps and then peruse the trace for a particular sp and count that way. But I would like a more efficient way if there is one. Thanks. - Komp ...more >>

Using case or coalesce?
Posted by tonicvodka NO[at]SPAM hotmail.com at 1/16/2006 2:14:03 AM
Hi all! I'm trying to do the following: select * from Estates where case (Action) when(1) est_ZipCode BETWEEN 12000 AND 12999 OR est_ZipCode BETWEEN 14000 AND 14999 end when(2) est_ZipCode BETWEEN 16000 AND 16999 end when(3) est_ZipCode BETWEEN 11000 AND 11999 OR est_...more >>

how attach .mdf from machine with different directory structure?
Posted by srb24 at 1/16/2006 1:03:30 AM
Hi Is there a way to attach a /mdf file to new server with a different file location?? For example after safely shutting down sql server on the old machine (which is no longer accessible) I've tried to reattach the file which is in the folder d:\mssql\data but get the following error messag...more >>

Seems simple - But how (Stored procedures)?
Posted by lemes_m NO[at]SPAM yahoo.com at 1/15/2006 4:08:15 PM
Situation: Stored procedure 1 which is related with Stored procedure 2 which has parametar. Does anyone knows how to transfer value of some field from stored procedure 1 to parametar in stored procedure 2? Regards, ...more >>

Stored procedure with two parameters
Posted by lemes_m NO[at]SPAM yahoo.com at 1/15/2006 3:53:50 AM
Hi all! I have stored procedure "SPStorniranjeUKRP" with two parameters, @VrNaloga (smallint) and @IdNaloga (smallint). When I try to execute this procedure from VBA code (MS Access) I use following command: DoCmd.RunSQL "EXEC SPStorniranjeUKRP @VrNaloga= " & [Forms]![FRMUlazneKalkulacijeRP...more >>

Import CSV files to SQL Express 2005
Posted by Ray at 1/13/2006 10:06:34 AM
Is there an easy way to import CSV files into a SQL Express 2005 database? I am using perfmon to capture Performance Counters for some of the servers I monitor, and I'd like to dump all of these counters into a SQL Express Database. Currently I have the perf counters going into CSV files, e...more >>

demonas syntax error
Posted by dreamershl NO[at]SPAM gmail.com at 1/13/2006 1:51:36 AM
Hi All, Now I encounter a very strange error. There is a table A which contains a varchar(10) column fieldA. Then if we execute the following SQL, select * from A where fieldA = 1234 we will get the error message: run-time error '3146' 22005: Syntax error converting the varchar value 'd...more >>

Calculation in stored procedure
Posted by lemes_m NO[at]SPAM yahoo.com at 1/12/2006 6:09:48 PM
Hi all! I have one update SP and I need to do some calculations in that SP. Problem happens when this calculation results with null string. I would like to have result like this: If Isnull(CalculatedField) then CalculatedField=AnotherField else CalculatedField=Calculation end if Can I...more >>

Constraint on multiple columns
Posted by psawant NO[at]SPAM gmail.com at 1/10/2006 1:52:50 PM
HI All, I have a table which has got the following columns plus more pkid id int, value varchar(50) flg bit I want to set up a constraint so that there can be only one 345,blah where flg=0 good records pkid,id,value,flg ------------------------- 3,345,blah,0 4,345,blah,1 5,345...more >>

Concate function in text data type.
Posted by archana_kolambe NO[at]SPAM hotmail.com at 1/4/2006 9:27:15 PM
hi all, can someone tell me how to concatenate text datatype, Or is there any data type which is supporting length of 32767 characters. As maximim limit of varchar is 8000, and i want to store more than that. Any help will be truely appreciated. thanks in advance. ...more >>

SQL Distinct Value and Order by some Field......
Posted by Krishnan at 1/4/2006 5:37:41 AM
Dear all, In SQL Server 2000 , how to get distinct records sort by one field . Example SELECT DISTINCT A FROM tblTEST ORBER BY B Here, In Table Field 'A' contain more than one same data... Field 'B' contain all are different Data...... I wan...more >>

Don't understand the performance issue with this simple query.
Posted by Jason Kendall at 1/3/2006 12:33:28 PM
I have a simple query that takes more than a minute to process, normally. When I hard code the parameter value into the query, it executes in less than one second. I am joining between a view on a linked server and a view on the local DB. Both servers are SQL 2000 SP3a. The only difference ...more >>

Please help me with a query statement!!
Posted by Vanessa Lee at 1/2/2006 7:19:54 PM
Hi Can you help me with a Select statement? It should be simple, but I am lost. It should be something quite opposite to the JOIN statements, as they will allways give me NULLs for non matching values, but I actually want nonmatching values. I have two tables. How to query the two tables (belo...more >>

Intermittend enormous harddrive utilization
Posted by DC at 1/2/2006 2:08:56 AM
Hi, I am currently facing extreme disk utilization on a system that is using drive e: and f: for several databases and indexes. Is there a way to check which .mdf or .ldf (or other) files are causing this high utilization? Third party tool maybe? TIA for any hint, Regards DC ...more >>


DevelopmentNow Blog