Viewing 15 posts - 511 through 525 (of 761 total)
This might help:
Select
(Case When Tag = 'Tag1' Then Date else NULL end) As Tag1Date,
(Case When Tag = 'Tag1' Then Value else NULL end) As Tag1Value,
(Case When Tag...
May 4, 2012 at 1:42 am
I don't think you can do that without using Dynamic SQL. If you user the following code:
Declare @Tablename1 varchar(30) = 'Test'
Declare @Tablename2 varchar(30) = 'Test1'
Select * From @tablename1 as u...
May 4, 2012 at 12:58 am
I don't know about the tool you are using....but you can do it easily by using either of the following in SQL Server:
2. Bulk Insert
May 3, 2012 at 11:37 pm
capn.hector (5/3/2012)
not a problem. when i do these sort of things i try to think of cases where my query would break. i almost posted exactly what you...
May 3, 2012 at 6:45 am
pawan.boyina (5/3/2012)
We are following sqlservercentral for all the updates on sqlserver, can a similar kind of DOT NET link be provided?
May 3, 2012 at 5:27 am
If imex's solution doesn't work then please post the DDL of your table and some readily consumable sample data to go with it.
Help us in helping you.
May 3, 2012 at 3:39 am
capn.hector (5/2/2012)
vinu512 (5/1/2012)
This does:
SSelect * From ClientDetails
Where InterviewDate IN (Select MAX(InterviewDate) From ClientDetails Group By ClientID)
the problem with that query is the IN list contains the max interview date for...
May 3, 2012 at 12:29 am
shubham.saxena67 (5/2/2012)
Dear friend,plz tell me how to drop primary key 'IND_HIM8' on table City_Master CITY_ID Column..
Plz send me Script to drop primary key..
Thanks
ALTER TABLE <table_name>
DROP CONSTRAINT <Primarykey_name>
May 2, 2012 at 4:20 am
elham_azizi_62 (5/2/2012)
I could download this zip file.please try again.thanks
They are not saying that they could not download it.
These are real people who take out time from their busy work schedules...
May 2, 2012 at 3:02 am
Guvera (5/2/2012)
Thanks. Its working fine now.
What made it work??
May 2, 2012 at 2:36 am
al_yamama_1980 (5/2/2012)
May 2, 2012 at 1:48 am
al_yamama_1980 (5/2/2012)
I tray that but again nothing happaned
I can't think of anything that might help you...May be the pros here might have something better for you.
May 2, 2012 at 1:06 am
al_yamama_1980 (5/1/2012)
My windows server 2008 R2 and setyp SQl server 2008 when i went to coonect the ODBC the Messge appeare:
Sql state :"01000"
Sql server error:"11001"
[Microsoft] [ODBC Sql server...
May 2, 2012 at 12:59 am
elham_azizi_62 (5/1/2012)
Hi, these are scripts of my tables use in procedures and view.thanks for your replies.
Thank you very much for posting the DDL Scripts.
You would also have to post some...
May 2, 2012 at 12:53 am
Guvera (5/2/2012)
I am having two tables that table name Test1 & Test2. Two tables are same and Test2 is the backup table for Test1. Now i need to do some...
May 2, 2012 at 12:39 am
Viewing 15 posts - 511 through 525 (of 761 total)