Viewing 15 posts - 676 through 690 (of 760 total)
Where do you get the backup from??...Directly from the database or you download/FTP the backup file from somewhere?....Have you tried restoring it as a fresh database?
I think it might be...
April 23, 2012 at 1:18 am
very nice one Lynn.
Couldn't have done it better.
April 23, 2012 at 1:04 am
Medal of SQL HONOUR...must be given to all people who are behind this forum...CHEERS!! guyz
April 23, 2012 at 12:13 am
This works too.
--Create Table1
Create Table Ex
(billno int,
amount int )
--Insert Data into Table1
Insert Into Ex
Select 1 ,15000
Union All
Select 2 ,25000
Union All
Select 3 ,35000
--Create Table2
Create Table Ex1
(billno int,
amount int )
--Insert...
April 22, 2012 at 11:52 pm
I am guessing, you must want to do that dynamically everytime a query is run....right??
April 22, 2012 at 11:26 pm
This is the best I could do with the vague question you posted:
Create Procedure Give_More_Details
@Table1 varchar(10),
@Table2 varchar(10),
@Col1 varchar(10),
@Col2 varchar(10),
@Data1 varchar(max),
@Data2 varchar(max)
As
Declare
@query1 varchar(max),
@query2 varchar(max)
Begin
Set @query1 = 'Insert Into '+@Table1+'('+@Col1+') Values('''+@Data1+''');'
Set @query2...
April 22, 2012 at 11:19 pm
By executing the procedure do you mean executing the above code you showed us(creating the procedure) or do you mean running the procedure?
PLS-00306: wrong number or types of arguments in...
April 22, 2012 at 10:54 pm
You'll get whatever you need to know about Indexing at the following link:
April 22, 2012 at 10:46 pm
If you use the following code:
SET STATISTICS TIME ON
select *
from [a view]
SET STATISTICS TIME OFF
then it shows the Time Statistics in the message tab....so what is the problem here??...aren't you...
April 22, 2012 at 10:43 pm
You're welcome.
Always happy to help.:-)
April 22, 2012 at 10:00 pm
SQLCrazyCertified (4/17/2012)
vinu512 (4/17/2012)
According to Microsoft the following is BLOCKING:
Is that what you mean??...
Anyways you can get the Database back to that state if you have...
April 17, 2012 at 6:55 am
Have you tried it like this??
I'm using SQL Server 2008.
declare @table table
(col1 decimal(18,2) )
insert into @table (col1)
values (1),
(10),
...
April 17, 2012 at 6:50 am
thats really sweet of you jennyaalt. But I think ColdCoffee was the one who gave the solution.
You're welcome anyways 😀
April 17, 2012 at 5:33 am
rvasanth (4/16/2012)
Note : Same thing works fine if my web server os is 32 bit (Eg : Windows 2003 32...
April 17, 2012 at 4:57 am
I believe this would help you.
April 17, 2012 at 4:52 am
Viewing 15 posts - 676 through 690 (of 760 total)