|
Here's a few of the new posts today on the forums. To see more, visit the forums.
cluster index and non-clustered index
- [b]can any body answer this question ? In what cases developer use cluster and non cluster index .
suppose 40,000 rows are...
cluster index and non-clustered index
- [b]can any body answer this question ? In what cases developer use cluster and non cluster index .
suppose 40,000 rows are...
MSSQLSYTEMRESOURCE NOT IN DATA DIRECTORY LIST
- We are planning to migrate our system DB (SQL 2005) on our cluster environment. We followed the instruction given by...
Hyperthread or not?
- We're still on sql 2005 enterprise 64-bit with plans to upgrade to 2012 later this year. We have one main...
sql agent job hangs without any errors or warnings
- Problem:
we have a SQL Agent job which runs everyday in the morning at 4:00 am. This job hangs sometimes without...
Cannot generate SSPI
- Error message shown in the logs is :
Approva.ApplicationBlocks.ExceptionManagement.BaseApplicationException: Error occurred in Openconnection in SQLServer. ---> System.Data.SqlClient.SqlException: Cannot generate SSPI context.
...
Backup file size is 0 KB
- Hi there
I've backed up a database and called the backup file SQLDBName-MD-20100729-15:300.bak. SQL Server Management Studio says the backup took...
SQL CLR Types vs Native .Net Types?
- I'm looking for some guidance as to when to use things like String Vs SqlString in CLR functions.
From what I...
Barcode 128 generator (using scalar function)
- I'm looking for a barcode generating Function that uses the standard Code128. Apparently no function that fixes this has been...
Tasty Performance scenario to feast on, looking for general feedback and theories only
- Looking for some ideas on a performance scenario we are seeing in production. I can't make any changes to production...
What process is consuming my VAS Reservation
- I am encountering an error on one of our environments where further logins are not allowed anymore. Only way to...
Using PATINDEX to find all numeric values
- Hello,
I forget. How can PATINDEX be used to find column values where the data is all numeric? I've tried, the...
Compare two databases
- I need to compare two databases (e.g. Development DB and Test DB) to make sure they are 100% identical. Is...
Validating TSQL Conventions
- I have a set of conventions for my database.
for e.g.: select shall be always SELECT and lower case 'select'...
SSIS Package Error
- Hello Everyone
I know this is a SSIS Package issue. But I cannot find a category for "2008 SSIS Packages"
I have...
Moving Datab from one datafile to another
- Hi All,
We have one database with 3TB of size, with 6 Data files and 2 Transactional log files. Due to...
sql security
- pls any body give some issues regarding sql server security
like some login failed error messages
Thank you
SQL Server does not exist or access denied
- hello all.
I run this: declare @h int,@objDBC int,@src varchar(255), @desc varchar(255);
EXEC sp_OACreate 'ADODB.Connection', @objDBC OUT
EXEC @h=sp_OASetProperty 16711422,
'ConnectionString', 'Driver={SQL...
sp_OAMethod
- hello all.
I use this: declare @h int,@objDBC int
EXEC sp_OACreate 'ADODB.Connection', @objDBC OUT
--------@objDBC =16711422
EXEC @h=sp_OASetProperty 16711422,
'ConnectionString', 'Driver={SQL Server};
Server=WIN-00UO3RQ0BM3;
Database=MaliGilan;
trusted_Connection=Yes'
...
facts abt sps,views and functions
- I just want to know whether or not function can call system or userdefined
sps?
Similarly can userdefined sps can call udf...
Database size keep increasing size massively..
- HI my database is keep increasing size very massively. On server i have only 1 database and database have around...
Declare error message before CATCH?
- In doing code review, I suggested to a developer to move their error variables that were used in the CATCH...
function erroring and reporting wrong name
- Hi All,
I have a weird one for you that I was hoping to get some help with.
I created and deleted...
Unable to install sql server 2008 Management studio
- Dear Sir/Madam,
I downloaded Visual Studio 2010 from microsoft so its automatically installed sql server 2008 R2. In Sql server 2008...
Insert multiple lines in a single row
- Dear,
I want to insert multiple lines in a single row in SQL Server 2008 R2. I have tried. But it's...
Problem with using SQL Server linked server to MySQL database
- I have a MS SQL Server that does a lot of data manipulation and staging and then I need to...
First Stored Procedure
- I have written my first stored procedure to try to pass a table name in a variable to SSRS.
USE XXXX
SET...
I have a question about GROUPING SETS and the () element.
- What does the () signify with grouping sets of multiple elements?
An example on Microsoft.com, (http://technet.microsoft.com/en-us/library/bb522495(v=sql.105).aspx), read the following T-SQL code:
GROUP...
Problem with CAST to VARCHAR with SUBSTRING Function
- I'm haveing trouble with a simple CAST to VARCHAR Statement.
[code="sql"]
SELECT
CASE WHEN CAST(LEFT(Customer.STARTDATE, 2 AS VARCHAR(2)))
= '98' THEN CAST(substring(Customer.STARTDATE, 3,...
Word analysis with SQL
- I did a blog post earlier called [url=http://svangasql.wordpress.com/2012/11/12/pass-summit-2012-twitter-dashboard/]PASS Summit Twitter Dashboard[/url]. It shows all tweets by people at the PASS...
Need a backup script to get backup history status for the latest backup from all linked sql servers
- Hi Guys,
I am actually in need of a t-sql or a powershell script that will help me get the latest...
where to find dbservername when connecting to oracle from asp.net
- hello i have a rather novice question but i cant figure it out myself. when i try to modify web.config...
ORA-12592: TNS:bad packet or REB_REPSER ORA-03113: end-of-file on communication channel
- Hi guys, recently i need to start to look after some of the linked server query . i got a instance...
User defened Datatypes Default values.
- Dear All
I would like to know the syntax of adding Default value during UDT creation (Rather than by using...
DBF to SQL on daily basics
- Hello,
I need to import to my SQL server database information from DBF files every day,
to do this I...
Changing compatibility
- Is it fine if we change compatibility level of a Database which is in Logshipping from 80 to 90 in...
replication issue
- ''replication cannot do anything''
i have Transaction replication with pull subscription.
There is no error in replication showing all success.
below message...
Monitor Log Shipping
- Monitoring Log Shipping
My client in Manhattan maintains a disaster recovery server in South Brooklyn. We employ log shipping to sync...
Logshipping Query
- Logshipping is out of sync for 2 days and so i have a huge amount of logfiles to copy and...
check traces
- Is there a way to find out what traces are enabled in a sql server instance?
and also what is the...
Trace Flag 1118
- Please share what helped shape your point of view on whether or not to enable TF 1118 in your SQL...
Tempdb and disk
- I am reading a tutorial of Randal Paul that says,
Checkpoints don't flush tempdb data to disk. Log records are...
How to manage log space issue, when you have more than 1 log file for a particular database?
- Hi All,
If you encounter log space issue and if you have more than 1 log file for a database, how...
create a policy in policy management
- How to create a policy that prevents users to create user objects in master database?
Thanks
NVARCHAR(MAX) TO NText
- Hi, the problem I'm having is when I'm passing NVARCHAR(MAX) output parameter from a stored procedure to a SSIS derived...
MDX trouble in a calculated member
- Hi to all.
I use SSAS 2008 R2 and i built a cube.
In this cube i have a little trouble with...
MDX Query - Little TROUBLE with a calculated member
- Hi to all.
I use SSAS 2008 R2 and i built a cube.
In this cube i have a little trouble with...
|