|
Here's a few of the new posts today on the forums. To see more, visit the forums.
Have to enter the port to connect via management studio
- A strange problem has cropped up in our enviornment that I'm kind of scratching my head about. Why all of...
When we talk about fragmentation it's both Table as well as Index fragmentation, is it ?
- Experts,
Silly question... When we talk about fragmentation it's both Table as well as Index fragmentation right ?
I always see posts...
removing publications
- Hi, I've inherited replication both merge and transactional. Right now, I've known that much of it is not in use,...
directory lookup for the file failed with the operating system error 2
- Dear All,
I am getting a problem.I have SQL server 2005 installed on C:\..drive.and I have S:\ drive as a LUN.
Now...
High Space Used in Database
- I am getting alerts for [b]high space used in database 90%[/b] in my one of the production server. Can any...
SQL Server 2005 Agent will not start
- The agent service is configured to use a service account, as is SQL server itself. SQL starts just fine so...
Data split while loading into CSV
- Hi,
I am loading data from sql server to a flatfile (.csv format). One of the column will have values like
=HsGetValue("GPDetail","Scenario#Actual;Year#2012;Period#P07;View#YTD;Entity#G1G2_0609000;Value#<Entity...
Tlog space getting full whcle executing the Update statement
- Hi All,
Could you please assist on tlog space issues. I am trying to execute the query have update statement like...
need to fetch the value between two delimiter
- declare
@text varchar(max) = 'MSH|^~\&|||||21110428134755-0500||ADT^A04^ADT_A01|21110428134755|P|2.5.1|||AL|NE
EVN|A08|21110428133821-0500||||21110428133821-0500
PID|zdly100001|zdly111000^556|PATID1234^5^M11|6g7g7|JONES^WILLIAM^Aryan^III^Dr.^MBA|Singh|19621225000000|M||2106-3|1200 N ELM STREET^^GREENSBORO^NC^27401-1020^TX|GL|(919)379-1212^^^test1@gmail.com^TX^324^5656568^121|(919)271-3434~(
Strange Management Studio 2008 R2 (10.50.1600 and 10.50.1617) behaviour
-
Using management studio (10.50.1600 or 10.50.1617.0)
Connecting to named sql server instance (lets call it [DEV-SQL\SqlKing]) version 10.0.4279
--> Cumulative update package...
How to mask a field?
- Hi,
I have a table with 10 columns
Out of 10, i need to mask 5 columns because i don't want to...
HAving Brain fade on a simple SQL query
- Hi all,
I'm having an issue remembering how to do this (simple) query in SQL.
I have a view that pulls from...
Insert into table from temp table
- In my stored procedure, I create a temp table from table A. Then I modify data on the temp table....
log for database is not availabe
- Hi,
I am getting the below error error message.
The log for database 'Commun' is not available. Check the event log for...
point-in-time restore of a database requirements
- Hi all
I have a question about a point-in-time restore of a database. I thought I understood all about backups years...
How to get sub total on non-numeric field in SSRS?
- I want to get the sub total for say non numeric field Month. So how can i get it in...
Middle Number Needs GROUP BY
- I can't figure out the GROUP BY.
This result should be:
A 2
B 7
C 8
Thanks!
[code="sql"]
IF OBJECT_ID('tempdb..#TempMid') > 0 DROP TABLE #TempMid
CREATE TABLE...
datetime conversion challenge
- How do I convert this date '19/10/2011 2:00:00 PM' to a standard datetime value?
Go from SQL 2008 R2 standard edition to Developer?
- Is it possible to 'downgrade' SQL 2008 R2 from standard edition to Developer edition?
I'm working on developing a long-term...
A printable list of T-SQL commands
- Where would I find a list of T-SQL commands and reserved words?
The number of reserved words and system functions like...
How to combine tables in one straight row?
- Hello friends,
I hope every one is in good condition upon reading this forum. I am finding a hard time combining...
Improving query performance to detect first duplicate
- I need to query some tables looking for All Sales that are active at the same time and have at...
how to change the date value to null??
- hi ,
I have a column with date datatype. i updated the column with some date like 02-02-2012 00.00.000 ,for 100...
any ideas on how to spead up this query?
- As the title says
select
id
, count(distinct company) as CompanyCount
, count(distinct district) as DistrictCount
from Tracking
group by id
thanks in advance
comma separate value show as table
- I have One table tbaleOne
Column1
-------------------------
AA,BB,CC
DD,EE,FF
GG,HH,II
I need out put
col1 col2 col2
---------------------------------------------------------
AA BB CC
DD EE FF
GG HH II
Convert Text to Date DataType
- Hello Everyone,
I have an sql table which stores dates from some other system as text.
Eg.: DD/MM/YYYY ,31/12/2012.
I have made...
Insert into one table from multiple tables
- Hi All,
Just needed a bit of help with an insert query.
I have 3 tables that I need data from each...
Unable to enable FILESTREAM feature of SQL Server 2008 R2 on failover cluster
- Setup:
SQL Server 2008 R2 Enterprise Edition x64 (10.50.1600)
Windows Server 2008 R2 Enterprise x64
When attempting to configure the filestream feature through...
How to mask a field?
- Hi,
I have a table with 10 columns
Out of 10, i need to mask 5 columns because i don't want to...
Db Snapshots question
- Hi,
I have a question on database snapshots.
I have created a table and inserted 2 rows.
create table tab7...
Transaction Log drive in simple recovery
- I'm creating a database on a server with 3 hard drives. One is mainly for the OS and I shouldn't...
Synchronization of 2 different DB's
- Hello,
there are two similiar databases given. They are widely even identical though have some different columns and tables.
I am looking...
Splitting a huge, a huge table in two or three
- Ok,
I've seen big tables and databases before, but this one is really big. I just recently discovered that the reason...
get a SQL alert
- I just got a SQL alert:
What does it mean, I see it generates some errors in sql log, see attachment.
It...
Passed 70-433 yesterday (yay!). Now 70-451 or short path to MCSA 2012?
- Hi guys and girls. I passed the 70-433 exam yesterday on the second attempt. I missed out by 2 questions...
XML Data Type .modify() Method in an update statement?
- I have an column of XML data type in a table. I need to change the text() node value on...
|