Viewing 15 posts - 451 through 465 (of 2,008 total)
ashuthinks (1/2/2012)
varbinary value yes... but i'm getting null value i dont know why 🙁
It will / may return NULLs if any of following is NULL:
@PersistenceSourceId
@EntityType
@NativeUniqueIdentifier
RETURN HASHBYTES(
'SHA1',
CAST(@PersistenceSourceId AS VARBINARY)...
January 2, 2012 at 5:11 am
Actually it’s not that difficult. You just need a loop / cursor (suggesting loops because it’s one time solution probably :unsure:) that will loop through all tables in the database.
For...
January 2, 2012 at 5:06 am
What’s confusing in it? The INSERT statement is calling a function that returns hash bytes (varbinary value). :Whistling:
January 2, 2012 at 4:32 am
Then you should rebuild / reorganize your index. Its fragmentation is consuming 30 GB of space (however not visible in query results :unsure:).
January 2, 2012 at 4:24 am
MasterDB (1/2/2012)
If i take, new full backup and restored with replace option i can lost yesterdays' data in QA Instance..am i right..?
Full Restore will replace everything on target server with...
January 2, 2012 at 3:59 am
MasterDB (1/2/2012)
exactly, after restoring second backup in QA Instance am not able to see yesterday's Records am able to see only today inserted and updated records.
You took FULL backups, right?...
January 2, 2012 at 3:49 am
I believe its exported csv (or tab limited) file. So by default it will have row terminator, you don’t need to force it.
Else you can put following case with explanations...
January 2, 2012 at 3:39 am
I am not very sure how ‘sys.dm_db_index_physical_stats’ gets its data & how you retrieved 36 GB on Index space. But it’s very common that a file’s actual size & file’s...
January 2, 2012 at 3:36 am
Try following on notepad...
Insert some text (any text) and hit enter key (new line). What’s the output?
Until you hit enter key, line can go till EOF. But it’s not...
January 2, 2012 at 3:30 am
Did you conclude anything based on this output?
2 files generated
File 1 : "Error"
File 2: "Error.Error.text"
It’s as expected error files.
File 1 contents
3,3,
It indicates error in row#3 with complete row...
File 2...
January 2, 2012 at 3:11 am
Can you try your code with following data?
--- Data in Sample.text
1,James,
2,BK,
3,
------- End of data----
January 2, 2012 at 2:23 am
frankcastle509 (1/2/2012)
Yes, experience...
January 2, 2012 at 2:12 am
It will create error files if it rejects any row for inconsistency. If your data is clean it won’t create it. Verify it with scenarios where you lose some of...
January 2, 2012 at 1:43 am
Please consider it a lesson and backup your databases regularly. I should add verification of backups is equally important so verify your backups with proper restoration scenarios at regular interval...
January 2, 2012 at 1:40 am
Viewing 15 posts - 451 through 465 (of 2,008 total)