SP to Update columns with incremental values
Hi All,How to update a column with given sequence and increment the values depending upon TYPE columnCREATETABLE [dbo].[table]( [KEY] [bigint] NOT NULL, [TYPE] [varchar](5)NULL...
View ArticleAutomate Restore Database process which has 1 mdf, 2 ndf, 1 ldf files.
I would like to do following:-- Any help greatly appreciate....Input Parameters :-- dbname, backup location Stored Procedure should do following::--1. Based on given dbname information, find all mdf,...
View ArticleBULK INSERT from a text (.csv) file - read only specific columns.
I am using Microsoft SQL 2005, I need to do a BULK INSERT from a .csv I just downloaded from paypal. I can't edit some of the columns that are given in the report. I am trying to load specific...
View Articlelinked server oracle tables - not able to add to query designers "show...
I am new to sqlserver. 1)I created a linked server to a oracle database, works fine. Now I am writing queries, using "Query Desgner", when I do a "Add table" linked server tables do not appear. Is this...
View ArticleMSSQL policies
MSSQL policies does not recognize user connections. The error message reads:Error: Unable to connect to the data source using the defined settings. Server has returned: ODBCError 28000:...
View ArticleRegarding sqlserver
Hi,I have parent tables and child tableshow to get all child tables that belongs to parent table in a single query
View ArticleSQL Server Licensing Information
I want to retrieve SQL server licensing information e.g. License type, Count, License Code etc.Any help? RK
View ArticleRegarding ReCreating Catalog in SQL Server 2005 which was existing in SQL...
Hello I was using SQL SERVER 2000 ... In one table I've created FULL TEXT SEARCHING ( Full text catalog along with full text indexing) Now we had to install our db in SQL SERVER 2005 standard edition....
View ArticleRegarding sqlserver
Hi, I have 400 tables in a database, four columns are common in every tablei want to get all columns in a single query
View ArticleReading/Writing Data from a SQL Database
Hi,I have a data structure called 'Quote' which contains a number of different variables and controls ranging from text boxes, check boxes and radio buttons, i need to be able to read and write this...
View Articlesql 2005 express installation (Vista Ultimate)
While installing SQL Server 2005 Express Edition SP2 or SQL Server 2005 Express Edition with Advanced Services SP2on Vista Ultimate, I get the error "The feature(s) selected are not valid for this...
View ArticleReceiving an error message that there is not sufficient disk apce to intall...
I downloaded this program, and when trying to intall I am receiving an error meesage that there is insufficient disk space to install. I have 98GB available on C and 107 GB available on D. I am on an...
View ArticleUsing Outlook Business Manager but SQL will not start
When I start Outlook Business Manager it tells me that SQL is not running. I have followed all the procedures to try to restart it without success.The SQL log is reporting the following2014-01-22...
View ArticleHow to find out how many "maximum server memory" should I configure.
Hello guysI'm asking myself what i should configure in "maximum server memory".Default is: 2147483647Is there a way to find out whats the best for my Database? Cause I really dont understand the "DBCC...
View ArticleAccess 2013 Rowsource Update Function to SQL Server 2008 Function
HI All,I was wondering if as an example you could help me write a SQL Function or Stored Proc to achieve the result of this access function...I Have already worked out how to create delete Stored Procs...
View ArticleFilling Dataset Problem
Hi All,i have 50 tables.M trying to fill the table in dataset using a loop.no roblem for first 25 tables , but at 26th table it gives the error "Input string was not in a correct format.Couldn't store...
View Articlechanging default Top 200 records
Hi and thank you for your help... I don't seem to understand the logic of defaulting to the " Edit top 200 records" ...Can the default "Edit Top 200 Rows" be changed to let's say top 2000?
View ArticleAutomate Restore Database stored procedure
I would like to do following:-- Any help greatly appreciate.... Input Parameters :-- dbname, backup location Stored Procedure should do following::-- 1. Based on given dbname information, find all...
View ArticleRunning SQL Server Std 2012 on an Essentials Server Std 2012
Hi all,Happy new year from New Zealand.I have a small 4 user site and I'm planning to upgrade their server hardware. Currently they are running SBS 2003 and I'm aiming to install Essentials server to...
View Articleupdating multiples tables
Hi ,i want to update two tables ALTER PROCEDURE [dbo].[SP_updateDetails] -- Add the parameters for the stored procedure here @ServiceID int, @DayoftheWeek varchar(50), @Date datetime, @Services...
View Article