Viewing 15 posts - 1 through 15 (of 29 total)
Just to make it more fun, we have a third level.
As a development team own our database servers (Dev and Prod) and have admin rights on them. On the servers,...
November 22, 2007 at 1:05 am
This link http://support.microsoft.com/kb/248241 might be useful. You could possible then copy bcp across as well and it might run on your non SQL Server.
July 3, 2007 at 3:23 am
When we were trying to find out whether a database was still being used a while ago, not having been able to contact the owner of it, we reached the...
June 20, 2007 at 1:00 am
We suddenly got caught out by this last year. Having had a Stored Procedure in production for best part of a year, usually running in a few seconds, it started...
May 25, 2007 at 1:16 am
You could try changing the datatype to nvarchar and the insert statement to
insert into [testtable] values (1, N'test')
January 9, 2007 at 2:16 am
Check out Microsoft KB article 326613. It tells you which DLLs from SQL Server to package up into an MSI for distribution.
August 4, 2006 at 4:04 am
Hmmm. Sneaky!
I was sure of my answer in this (The table is created as dbo.MySecond and the grant and select complete successfully), as I am in the same situation. I...
November 17, 2005 at 12:56 am
After a lot of fiddling, I found the answer myself:
It appears that a String Variable starts to have odd behaviour during lots of concatenation operations once it gets past 4096...
October 2, 2005 at 7:37 am
This stored procedure goes slightly further by enabling a program to query the log space used easily:
CREATE PROCEDURE dbo.DBO_LogSpace
as
declare @x int
set nocount on
if exists (select *...
August 1, 2005 at 2:45 am
Again, a very useful article.
One thing which may be of use:
If you use WScript.Echo in aVBS file, then when the script is run by double clicking, then you get a...
June 10, 2005 at 3:54 am
Using Enterprise Manager (or whatever), script a table to file. This gives something like:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[your_table_name]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
BEGIN
--Your code...
April 29, 2005 at 1:00 am
Some suggestions:
1) Check to see if the reader has any rows:
if userData.HasRows then
2) Perform a specific conversion
data_User_ID = userData.GetInt32(0)
I generally get my data using...
March 2, 2005 at 1:17 am
You need to add a linked server reference (sp_addlinkedserver), possibly with a login (sp_addlinkedserverlogin) when you are not using Windows Authentication.
Then reference the remote database using:
server.database.schema.object.
When querying a remote SQL...
December 14, 2004 at 12:34 am
That's a bit brutal; just kicking them out without any warning is a little unfair and not going to do much for your popularity.
I have a system which runs a...
November 17, 2004 at 12:34 am
Hmmm. All very well, but as a developer, I don't have access to luxuries such as debugging and tracing / profiling. Our DBAs just don't allow it.
At a push, they will run...
July 9, 2004 at 12:14 am
Viewing 15 posts - 1 through 15 (of 29 total)