Viewing 15 posts - 136 through 150 (of 1,109 total)
Above you are assigning the whole SQL Statement to the variable, you should do something along the lines of:
declare @Cnt int
SELECT @Cnt = count(CName) FROM [TableName] where CName= 850891144
SELECT...
August 4, 2008 at 2:50 am
Ratheesh.K.Nair (8/4/2008)
Am getting the error
Msg 492, Level 16, State 1, Line 2
Duplicate...
August 4, 2008 at 2:02 am
Morris Logan (7/30/2008)
I would like to know the best way to identify the nth occurrance of a specified character in a string?
e.g: lets say I have this string aaaddddfffggghhhhjjjj,...
July 30, 2008 at 2:49 am
sepelloo (7/28/2008)
i put database on server only.but i want to user or admin can't see my table or view ,....
You may be able to do this, depend on what you...
July 30, 2008 at 1:50 am
sabyasachi.mukherjee (7/29/2008)
We are loading about 1.8 million records from a flatfile. what should be the commit interval for loading this?
Depend on: what recovery mode you are using (you may want...
July 29, 2008 at 5:22 am
patr (7/29/2008)
I want to generate a script,should contains both the structure and the data existing in the database.Is ii available in sql server 2005
thanks in...
July 29, 2008 at 5:18 am
patr (7/29/2008)
I want to generate a script,should contains both the structure and the data existing in the database.Is ii available in sql server 2005
thanks in...
July 29, 2008 at 4:46 am
CrazyMan (7/29/2008)
i need to disable management studio from my live servers, please help me on this, i want to block some users...
July 29, 2008 at 4:39 am
The above message means that some of the values in your table cannot be converted to the new data type. For example you may have 'foo' as a value, and...
July 29, 2008 at 4:33 am
bhaskar.geddam (7/29/2008)
hai all,how to find out the disk space from query analyser.
thanks in advance.
To find out how much space your database is using, you can run a query like:
SELECT...
July 29, 2008 at 4:25 am
You can get around this by adding go statements between the inserts. Also have a look at the remarks section of http://technet.microsoft.com/en-us/library/ms162773.aspx
What you experience may have to do something with:...
July 29, 2008 at 2:14 am
bodhilove (7/28/2008)
Are there any issues migrating a sql server database to 2005. I was thinking that I could backup the current databases on 2000 and restore on 2005. Will this...
July 28, 2008 at 1:42 am
sepelloo (7/28/2008)
i deploy my tion and sql database on user pc.
some user have installed enterprise manager on their system. so they easly see my database and can modify it.
i...
July 28, 2008 at 1:34 am
go2vish (7/25/2008)
Can anyone help urgently??
I have to roll back a table in sqlserver 2005, where in table for one column the "Set Identity Insert" is "ON".
Before making change in...
July 25, 2008 at 1:58 am
GilaMonster (7/18/2008)
shiwani2002sg (7/18/2008)
July 18, 2008 at 5:13 am
Viewing 15 posts - 136 through 150 (of 1,109 total)